matplotlib.pyplot.
autoscale
(enable=True, axis='both', tight=None)¶Autoscale the axis view to the data (toggle).
Convenience method for simple axis view autoscaling. It turns autoscaling on or off, and then, if autoscaling for either axis is on, it performs the autoscaling on the specified axis or axes.
Parameters: | enable : bool or None, optional
axis : [‘both’ | ‘x’ | ‘y’], optional
tight: bool or None, optional
|
---|