mpl_toolkits.axes_grid1.axes_divider.AxesLocator

class mpl_toolkits.axes_grid1.axes_divider.AxesLocator(axes_divider, nx, ny, nx1=None, ny1=None)[源代码]

基类:object

用AxesDivider类初始化的简单可调用对象返回给定单元格的位置和大小。

参数:
axes_dividerAxesDivider
NX,NX1利息

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

纽约,纽约利息

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

__call__(axes, renderer)[源代码]

称自己为函数。

__dict__ = mappingproxy({'__module__': 'mpl_toolkits.axes_grid1.axes_divider', '__doc__': '\n A simple callable object, initialized with AxesDivider class,\n returns the position and size of the given cell.\n ', '__init__': <function AxesLocator.__init__>, '__call__': <function AxesLocator.__call__>, 'get_subplotspec': <function AxesLocator.get_subplotspec>, '__dict__': <attribute '__dict__' of 'AxesLocator' objects>, '__weakref__': <attribute '__weakref__' of 'AxesLocator' objects>, '__annotations__': {}})
__init__(axes_divider, nx, ny, nx1=None, ny1=None)[源代码]
参数:
axes_dividerAxesDivider
NX,NX1利息

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

纽约,纽约利息

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

__module__ = 'mpl_toolkits.axes_grid1.axes_divider'
__weakref__

对象的弱引用列表(如果已定义)

get_subplotspec()[源代码]

使用实例 mpl_toolkits.axes_grid1.axes_divider.AxesLocator