[Matplotlib-devel] matplotlibrc value for plt.autoscale(tight=True)

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[Matplotlib-devel] matplotlibrc value for plt.autoscale(tight=True)

Isaac Gerg
Is there a way in a matplotlibrc file to specify plt.autoscale(tight=True)?

_______________________________________________
Matplotlib-devel mailing list
[hidden email]
https://mail.python.org/mailman/listinfo/matplotlib-devel
Reply | Threaded
Open this post in threaded view
|

Re: matplotlibrc value for plt.autoscale(tight=True)

Eric Firing
On 2016/03/10 10:07 AM, Isaac Gerg wrote:
> Is there a way in a matplotlibrc file to specify plt.autoscale(tight=True)?
>

With versions up through 1.5.x, I don't think there is.  In 2.0 (not yet
released) it is actually the default, but can be controlled using
"axes.autolimit_mode" together with axes.xmargin and axes.ymargin.
These margin parameters are available in 1.5.x, but autolimit_mode is not.

Eric

_______________________________________________
Matplotlib-devel mailing list
[hidden email]
https://mail.python.org/mailman/listinfo/matplotlib-devel