You are reading an old version of the documentation (v3.1.3). For the latest version see https://matplotlib.org/stable/api/_as_gen/mpl_toolkits.axes_grid1.parasite_axes.HostAxesBase.html
Version 3.1.3
matplotlib
Fork me on GitHub

Table of Contents

mpl_toolkits.axes_grid1.parasite_axes.HostAxesBase

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

Bases: object

cla(self)[source]
draw(self, renderer)[source]
get_aux_axes(self, tr, viewlim_mode='equal', axes_class=None)[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]

Create a twin of Axes with no shared axis.

While self will have ticks on the left and bottom axis, the returned axes will have ticks on the top and right axis.

twinx(self, axes_class=None)[source]

Create a twin of Axes with a shared x-axis but independent y-axis.

The y-axis of self will have ticks on the left and the returned axes will have ticks on the right.

twiny(self, axes_class=None)[source]

Create a twin of Axes with a shared y-axis but independent x-axis.

The x-axis of self will have ticks on the bottom and the returned axes will have ticks on the top.