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 simple callable object, initialized with AxesDivider class, returns the position and size of the given cell.
Parameters: -
axes_dividerAxesDivider
-
nx, nx1int
-
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, ny1int
-
Same as nx and nx1, but for row positions.
-
__call__(self, axes, renderer)
[source] -
Call self as a function.
-
__dict__ = mappingproxy({'__module__': 'mpl_toolkits.axes_grid1.axes_divider', '__doc__': '\n A simple callable object, initialized with AxesDivider class,\n returns the position and size of the given cell.\n ', '__init__': <function AxesLocator.__init__>, '__call__': <function AxesLocator.__call__>, 'get_subplotspec': <function AxesLocator.get_subplotspec>, '__dict__': <attribute '__dict__' of 'AxesLocator' objects>, '__weakref__': <attribute '__weakref__' of 'AxesLocator' objects>})
-
__init__(self, axes_divider, nx, ny, nx1=None, ny1=None)
[source] -
Parameters: -
axes_dividerAxesDivider
-
nx, nx1int
-
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, ny1int
-
Same as nx and nx1, but for row positions.
-
-
__module__ = 'mpl_toolkits.axes_grid1.axes_divider'
-
__weakref__
-
list of weak references to the object (if defined)
-
get_subplotspec(self)
[source]
-
Examples using mpl_toolkits.axes_grid1.axes_divider.AxesLocator
© 2012–2018 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/3.3.3/api/_as_gen/mpl_toolkits.axes_grid1.axes_divider.AxesLocator.html