Is there any way to title a plot? Or can you display matplotlib graphs in sage?

asked 2012-06-01 09:01:36 -0500

ooglyboogly gravatar image

updated 2012-06-01 09:13:34 -0500

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.

edit retag flag offensive close merge delete

Comments

But 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.

kcrisman gravatar imagekcrisman ( 2012-06-01 09:34:09 -0500 )edit