I need to plot some graphs, save them and embed the results in a web
page, for example this:  http://www.lmfdb.org/EllipticCurve/Q/11/a/

The graph itself is created from its adjacency matrix (with some
adjustment of the vertex positions to look good for some of the more
complicated examples).  But there is too much whitespace around the
resulting plot (which I go on to encode using
matplotlib.backends.backend_agg.FigureCanvasAgg).  Nothing I do seems
to get rid of it!


To test this, try

sage: EllipticCurve('11a1').isogeny_graph().show()


Instead of a square box around this graph I would like a rectangle
which matches its shape without all the whitespace at the top and
bottom.  Not that other graphs have different shapes!  e.g.
EllipticCurve('15a1').isogeny_graph().show()

John

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to