mpl_toolkits.axes_grid1.axes_divider.AxesDivider
- class mpl_toolkits.axes_grid1.axes_divider.AxesDivider(axes, xref=None, yref=None)
Bases:
DividerDivider based on the preexisting axes.
- Parameters
Bases: Divider
Divider based on the preexisting axes.
AxesAdd 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 strThe 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 strPadding 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, optionalThe 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.AxesDividerAlign histogram to scatter plot using locatable Axes