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

i like this post (click again to cancel)
0
i dont like this post (click again to cancel)

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.

asked Jun 01 '12

ooglyboogly gravatar image ooglyboogly
101 1 7

updated Jun 01 '12

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 (Jun 01 '12)

Be the first one to answer this question!

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!
[hide preview]

Question tools

Tags:

Stats:

Asked: Jun 01 '12

Seen: 89 times

Last updated: Jun 01 '12

powered by ASKBOT version 0.7.22
Copyright Sage, 2010. Some rights reserved under creative commons license.