Version 2.2.2
matplotlib
Fork me on GitHub

matplotlib.axes.Axes.set_axes_locator

Axes.set_axes_locator(locator)

Set the axes locator.

Parameters:
locator : callable

A locator function, which takes an axes and a renderer and returns a bbox.