Bases: Divider
Divider based on the preexisting axes.
Axes
Add a new axes on a given side of the main axes.
Where the new axes is positioned relative to the main axes.
axes_size or float or str
The axes width or height. float or str arguments are interpreted as axes_size.from_any(size, AxesX(<main_axes>)) for left or right axes, and likewise with AxesY for bottom or top axes.
axes_size or float or str
Padding between the axes. float or str arguments are interpreted as for size. Defaults to rcParams["figure.subplot.wspace"] (default: 0.2) times the main Axes width (left or right axes) or rcParams["figure.subplot.hspace"] (default: 0.2) times the main Axes height (bottom or top axes).
Axes, optional
The type of the new axes. Defaults to the type of the main axes.
All extra keywords arguments are passed to the created axes.
Return the anchor.
Return aspect.
Return the position of the rectangle.
mpl_toolkits.axes_grid1.axes_divider.AxesDivider
© 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.AxesDivider.html