You are reading an old version of the documentation (v2.2.5). For the latest version see https://matplotlib.org/stable/api/_as_gen/mpl_toolkits.axes_grid1.axes_divider.html
Version 2.2.5
matplotlib
Fork me on GitHub

Table of Contents

mpl_toolkits.axes_grid1.axes_divider

The axes_divider module provides helper classes to adjust the positions of multiple axes at drawing time.

Divider: this is the class that is used to calculate the axes
position. It divides the given rectangular area into several sub rectangles. You initialize the divider by setting the horizontal and vertical lists of sizes that the division will be based on. You then use the new_locator method, whose return value is a callable object that can be used to set the axes_locator of the axes.

Classes

AxesDivider(axes[, xref, yref]) Divider based on the pre-existing axes.
AxesLocator(axes_divider, nx, ny[, nx1, ny1]) A simple callable object, initialized with AxesDivider class, returns the position and size of the given cell.
Divider(fig, pos, horizontal, vertical[, ...]) This class calculates the axes position.
HBoxDivider(fig, *args, **kwargs)
LocatableAxes(*kl, **kw)
LocatableAxesBase(*kl, **kw)
SubplotDivider(fig, *args, **kwargs) The Divider class whose rectangle area is specified as a subplot geometry.
VBoxDivider(fig, *args, **kwargs) The Divider class whose rectangle area is specified as a subplot geometry.