mpl_toolkits.axes_grid1.axes_divider.AxesLocator
- class
mpl_toolkits.axes_grid1.axes_divider.AxesLocator(axes_divider, nx, ny, nx1=None, ny1=None)[source] -
Основы:
objectПростой вызываемый объект, инициализированный классом AxesDivider, возвращает положение и размер заданной ячейки.
Параметры: - axes_dividerAxesDivider
- nx, nx1int
-
Целые числа, определяющие положение столбца ячейки. Когда nx1 равно None, задается единственный nx-ый столбец. В противном случае указывается расположение столбцов, охватывающих область от nx до nx1 (но не включая nx1-ый столбец).
- ny, ny1int
-
То же, что и nx и nx1, но для позиций строк.
-
__call__(axes, renderer)[source] -
Вызов self как функции.
-
__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)[source] -
Параметры: - axes_dividerAxesDivider
- nx, nx1int
-
Целые числа, определяющие положение столбца ячейки. Когда nx1 равно None, задается единственный nx-ый столбец. В противном случае указывается расположение столбцов, охватывающих область от nx до nx1 (но не включая nx1-ый столбец).
- ny, ny1int
-
То же, что и nx и nx1, но для позиций строк.
-
__module__= 'mpl_toolkits.axes_grid1.axes_divider'
-
__weakref__ -
список слабых ссылок на объект (если определен)
-
get_subplotspec()[source]
Примеры использования mpl_toolkits.axes_grid1.axes_divider.AxesLocator
© 2012–2021 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/3.4.3/api/_as_gen/mpl_toolkits.axes_grid1.axes_divider.AxesLocator.html