A new canvas is created by calling the class static method
canvas.init
. It is closed by
calling the close()
method of the canvas object.
fname=None format=None) |
When fname is omitted or is None, the output is sent to standard output. When format is omitted, it is guessed from the fname's suffix; failing that, "ps" is selected.
) |