Spec-Zone.ru › Matplotlib 3.3

mpl_toolkits.axes_grid1.parasite_axes.HostAxesBase

class mpl_toolkits.axes_grid1.parasite_axes.HostAxesBase(*args, **kwargs) [source]

Bases: object

__dict__ = mappingproxy({'__module__': 'mpl_toolkits.axes_grid1.parasite_axes', '__init__': <function HostAxesBase.__init__>, 'get_aux_axes': <function HostAxesBase.get_aux_axes>, '_get_legend_handles': <function HostAxesBase._get_legend_handles>, 'draw': <function HostAxesBase.draw>, 'cla': <function HostAxesBase.cla>, 'pick': <function HostAxesBase.pick>, 'twinx': <function HostAxesBase.twinx>, '_remove_twinx': <function HostAxesBase._remove_twinx>, 'twiny': <function HostAxesBase.twiny>, '_remove_twiny': <function HostAxesBase._remove_twiny>, 'twin': <function HostAxesBase.twin>, 'get_tightbbox': <function HostAxesBase.get_tightbbox>, '__dict__': <attribute '__dict__' of 'HostAxesBase' objects>, '__weakref__': <attribute '__weakref__' of 'HostAxesBase' objects>, '__doc__': None})
__init__(self, *args, **kwargs) [source]

Инициализировать self. Смотрите help(type(self)) для точного определения сигнатуры.

__module__ = 'mpl_toolkits.axes_grid1.parasite_axes'
__weakref__

список слабых ссылок на объект (если определён)

cla(self) [source]
draw(self, renderer) [source]
get_aux_axes(self, tr, viewlim_mode='equal', axes_class=<class 'mpl_toolkits.axes_grid1.parasite_axes.AxesParasite'>) [source]
get_tightbbox(self, renderer, call_axes_locator=True, bbox_extra_artists=None) [source]
pick(self, mouseevent) [source]
twin(self, aux_trans=None, axes_class=None) [source]

Создать дубликат осей без общих осей.

В то время как у self будут деления на левой и нижней осях, у возвращаемых осей будут деления на верхней и правой осях.

twinx(self, axes_class=None) [source]

Создать дубликат осей с общей осью x, но независимой осью y.

Ось y self будет иметь деления слева, а возвращаемые оси — справа.

twiny(self, axes_class=None) [source]

Создать дубликат осей с общей осью y, но независимой осью x.

Ось x self будет иметь деления внизу, а возвращаемые оси — сверху.

Примеры использования mpl_toolkits.axes_grid1.parasite_axes.HostAxesBase

Parasite Simple2

Parasite Simple2

Curvilinear grid demo

Демонстрация криволинейной сетки

:mod:`mpl_toolkits.axisartist.floating_axes` features

Функции mpl_toolkits.axisartist.floating_axes

Demo Floating Axis

Демонстрация плавающей оси

Parasite Axes demo

Демонстрация осей-паразитов

© 2012–2018 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/3.3.3/api/_as_gen/mpl_toolkits.axes_grid1.parasite_axes.HostAxesBase.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API