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

asked 12 years ago

ooglyboogly gravatar image

updated 12 years ago

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.

Preview: (hide)

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 ( 12 years ago )