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

asked 2012-06-01 16:01:36 +0100

ooglyboogly gravatar image

updated 2012-06-01 16:13:34 +0100

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 16:34:09 +0100 )edit