ASKSAGE: Sage Q&A Forum - Individual question feedhttp://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Fri, 01 Jun 2012 09:34:09 -0500Is there any way to title a plot? Or can you display matplotlib graphs in sage?http://ask.sagemath.org/question/9021/is-there-any-way-to-title-a-plot-or-can-you-display-matplotlib-graphs-in-sage/I know you can in matplotlib, but I can't find out how to do it with sage. I can make a graph with a title in matplotlib, but I'm not sure how to get it to display in a notebook.
**EDIT:** of course I found the answer right after posting this. pyplot.savefig displays the image.Fri, 01 Jun 2012 09:01:36 -0500http://ask.sagemath.org/question/9021/is-there-any-way-to-title-a-plot-or-can-you-display-matplotlib-graphs-in-sage/Comment by kcrisman for <p>I know you can in matplotlib, but I can't find out how to do it with sage. I can make a graph with a title in matplotlib, but I'm not sure how to get it to display in a notebook.</p>
<p><strong>EDIT:</strong> of course I found the answer right after posting this. pyplot.savefig displays the image.</p>
http://ask.sagemath.org/question/9021/is-there-any-way-to-title-a-plot-or-can-you-display-matplotlib-graphs-in-sage/?comment=19710#post-id-19710But can you do it *without* using pyplot directly? Ideally, we'd want to wrap this functionality; it looks like right now we only do legend titles.Fri, 01 Jun 2012 09:34:09 -0500http://ask.sagemath.org/question/9021/is-there-any-way-to-title-a-plot-or-can-you-display-matplotlib-graphs-in-sage/?comment=19710#post-id-19710