W3cubDocs

/Matplotlib 3.5

matplotlib.axes.Axes.use_sticky_edges

propertyAxes.use_sticky_edges

When autoscaling, whether to obey all Artist.sticky_edges.

Default is True.

Setting this to False ensures that the specified margins will be applied, even if the plot includes an image, for example, which would otherwise force a view limit to coincide with its data limit.

The changing this property does not change the plot until autoscale or autoscale_view is called.

© 2012–2021 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/3.5.1/api/_as_gen/matplotlib.axes.Axes.use_sticky_edges.html