1 | initial version |
You will need to use the plot
method to be able to save, as the show
method returns None
. Say G
is a Graph
. Then the following saves a picture of G
to filename.png
.
sage: p = G.plot()
sage: p.save('filename.png')