Terminates a PyNGL script.
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.
import Ngl wks = Ngl.open_wks("ps","example") # # Draw the current color map. # Ngl.draw_colormap(wks) Ngl.end()