Ask Your Question

Revision history [back]

click to hide/show revision 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')