Bases: object
An Axes positioning class.
The divider is initialized with lists of horizontal and vertical sizes (mpl_toolkits.axes_grid1.axes_size) based on which a given rectangular area will be divided.
The new_locator method then creates a callable object that can be used as the axes_locator of the axes.
Position of the rectangle that will be divided.
axes_size
Sizes for horizontal division.
axes_size
Sizes for vertical division.
Whether overall rectangular area is reduced so that the relative part of the horizontal and vertical scales have the same scale.
Placement of the reduced rectangle, when aspect is True.
Add auto-adjustable padding around use_axes to take their decorations (title, labels, ticks, ticklabels) into account during layout.
Return the anchor.
Return aspect.
Return horizontal sizes.
Return the position of the rectangle.
Return vertical sizes.
[Deprecated] Implementation of divider.new_locator().__call__.
Integers specifying the column-position of the cell. When nx1 is None, a single nx-th column is specified. Otherwise, the location of columns spanning between nx to nx1 (but excluding nx1-th column) is specified.
Same as nx and nx1, but for row positions.
Deprecated since version 3.8: Use divider.new_locator(...)(ax, renderer) instead.
Return an axes locator callable for the specified cell.
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.
Same as nx and nx1, but for row positions.
Either an (x, y) pair of relative coordinates (0 is left or bottom, 1 is right or top), 'C' (center), or a cardinal direction ('SW', southwest, is bottom left, etc.).
See also
Set the position of the rectangle.
position of the rectangle that will be divided
mpl_toolkits.axes_grid1.axes_divider.Divider
© 2012–2023 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/stable/api/_as_gen/mpl_toolkits.axes_grid1.axes_divider.Divider.html