Version 3.0.2
matplotlib

matplotlib.axes.Axes.set_axes_locator

Axes.set_axes_locator(locator)

Set the axes locator.

Parameters:locator : Callable[[Axes, Renderer], Bbox]