matplotlib.axes.Axes.use_sticky_edges#

propertyAxes.use_sticky_edges#

When autoscaling, whether to obey allArtist.sticky_edges.

Default isTrue.

Setting this toFalse ensures that the specified marginswill be applied, even if the plot includes an image, forexample, which would otherwise force a view limit to coincidewith its data limit.

The changing this property does not change the plot untilautoscale orautoscale_view is called.