You are reading an old version of the documentation (v2.0.2). 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.