You are reading an old version of the documentation (v2.0.1). For the latest version see https://matplotlib.org/stable/api/_as_gen/matplotlib.axes.Axes.set_axes_locator.html
matplotlib

Travis-CI:

This Page

matplotlib.axes.Axes.set_axes_locatorΒΆ

Axes.set_axes_locator(locator)ΒΆ

set axes_locator

ACCEPT: a callable object which takes an axes instance and renderer and
returns a bbox.