Ngl.end
Terminates a PyNGL script.
Prototype
Ngl.end()
Return value
NoneDescription
This function terminates a PyNGL script. It flushes all buffers and closes all internal and graphical (PS, PDF, and NCGM) files. This function should only be called once within a PyNGL script, right before you exit.
Examples
import Ngl wks = Ngl.open_wks("ps","example") # # Draw the current color map. # Ngl.draw_colormap(wks) Ngl.end()