mpl_toolkits.axes_grid1.axes_divider.Divider
- class mpl_toolkits.axes_grid1.axes_divider.Divider(fig, pos, horizontal, vertical, aspect=None, anchor='C')
Bases:
objectAn Axes positioning class.
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_sizeSizes for horizontal division.
axes_sizeSizes 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.
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.).
axes_sizesizes for horizontal division
Set the position of the rectangle.
position of the rectangle that will be divided
axes_sizesizes for vertical division
mpl_toolkits.axes_grid1.axes_divider.Divider