On 05/11/2013 01:49 AM, Jose Guzman wrote:
Hi everybody!

When plotting in the sage notebook, I like using the argument figsize to
a smaller size than the default one, like here:

 >> p = plot(sin(x), 0, 2*pi)
 >> p.show(figsize=[4,3])

Is there any way to set the default figsize for notebooks? something
like editing a file as  matplotlibrc?

thanks!

Jose

Add the following to ~/.sage/init.sage

sage.plot.plot.Graphics.SHOW_OPTIONS['figsize']=[4,3]


--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-support?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to