matplotlib / 3.5.1 / _as_gen / mpl_toolkits.axes_grid1.axes_divider.axeslocator.html /

mpl_toolkits.axes_grid1.axes_divider.AxesLocator

class mpl_toolkits.axes_grid1.axes_divider. AxesLocator ( axes_divider, nx, ny, nx1=None, ny1=None ) [source]

Bases: object

A callable object which returns the position and size of a given AxesDivider cell.

Parameters
axes_divider AxesDivider
nx, nx1 int

Integers specifying the column-position of the cell. When nx1 is None, a single nx-th column is specified. Otherwise location of columns spanning between nx to nx1 (but excluding nx1-th column) is specified.

ny, ny1 int

Same as nx and nx1, but for row positions.

__call__ ( axes, renderer ) [source]

Call self as a function.

get_subplotspec ( ) [source]

© 2012–2021 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/3.5.1/api/_as_gen/mpl_toolkits.axes_grid1.axes_divider.AxesLocator.html