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')[源代码]

基类:mpl_toolkits.axes_grid1.axes_divider.HBoxDivider

矩形区域被指定为子地块几何图形的Divider类。

参数:
figmatplotlib.figure.Figurematplotlib.figure.Figure
*args 元组( 诺尔斯恩科斯指数 )或者内景元组(元组)

图中的子图数组具有维数 (nrows, ncols)指数 正在创建的子批次的索引。 指数 从左上角的1开始,向右增加。

如果 诺尔斯恩科斯指数 都是个位数 args 可以作为单个3位数字传递(例如,234表示(2,3,4))。

__module__ = 'mpl_toolkits.axes_grid1.axes_divider'
locate(nx, ny, nx1=None, ny1=None, axes=None, renderer=None)[源代码]
参数:
axes_dividerAxesDivider
NX,NX1利息

指定单元格列位置的整数。什么时候? nx1 一个也没有,一个也没有 nx -指定了第列。否则,柱的位置介于 nxnx1 (但除外) nx1 -指定了th列)。

纽约,纽约利息

等同于 nxnx1 ,但对于行位置。

axes
renderer
new_locator(ny, ny1=None)[源代码]

创建新的 AxesLocator 对于指定单元格。

参数:
纽约,纽约利息

指定单元格行位置的整数。什么时候? ny1 一个也没有,一个也没有 ny -指定了第行。否则,行的位置跨越 nyny1 (但除外) ny1 -第行)已指定。

使用实例 mpl_toolkits.axes_grid1.axes_divider.VBoxDivider