PyNGL Home > Functions > Workstation routines

Ngl.frame

Terminates a picture on a specified workstation.

Prototype

Ngl.frame(wks)

Arguments

wks

The identifier returned from calling Ngl.open_wks.

Return value

   None

Description

This procedure terminates a picture on the specified workstation (which is also known as advancing the frame). Failing to call this procedure may result in incomplete data being sent to a workstation.

Note that most of the plotting functions, like Ngl.xy, Ngl.vector, Ngl.contour_map, etc, automatically call Ngl.frame for you, unless you set the special resource nglFrame to False, in which case you will eventually need to call Ngl.frame yourself to terminate the picture.

See Also

Ngl.open_wks, Ngl.draw, Ngl.clear_workstation, Ngl.change_workstation, Ngl.update_workstation

Examples

For examples on how to use Ngl.frame, see ngl07p.py, ngl08p.py, or ngl10p.py.