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

Eric Firing efiring at hawaii.edu
Fri Mar 11 13:04:00 EST 2016


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



More information about the Matplotlib-devel mailing list