matplotlib / 3.5.1 / _as_gen / mpl_toolkits.axes_grid1.axes_divider.vboxdivider.html /

mpl_toolkits.axes_grid1.axes_divider.VBoxDivider

class mpl_toolkits.axes_grid1.axes_divider. VBoxDivider ( fig, *args, horizontal=None, vertical=None, aspect=None, anchor='C' ) [source]

Bases: mpl_toolkits.axes_grid1.axes_divider.SubplotDivider

A SubplotDivider for laying out axes vertically, while ensuring that they have equal widths.

Parameters
fig matplotlib.figure.Figure
*args tuple (nrows, ncols, index) or int

The array of subplots in the figure has dimensions (nrows, ncols), and index is the index of the subplot being created. index starts at 1 in the upper left corner and increases to the right.

If nrows, ncols, and index are all single digit numbers, then args can be passed as a single 3-digit number (e.g. 234 for (2, 3, 4)).

locate ( nx, ny, nx1=None, ny1=None, axes=None, renderer=None ) [source]
Parameters
nx, nx1 int

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.

ny, ny1 int

Same as nx and nx1, but for row positions.

axes
renderer
new_locator ( ny, ny1=None ) [source]

Create a new AxesLocator for the specified cell.

Parameters
ny, ny1 int

Integers specifying the row-position of the cell. When ny1 is None, a single ny-th row is specified. Otherwise location of rows spanning between ny to ny1 (but excluding ny1-th row) is specified.

© 2012–2021 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/3.5.1/api/_as_gen/mpl_toolkits.axes_grid1.axes_divider.VBoxDivider.html