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

mpl_toolkits.axes_grid1.parasite_axes.HostAxesBase

class mpl_toolkits.axes_grid1.parasite_axes.HostAxesBase(*args, **kwargs)[source]
cla()[source]
draw(renderer)[source]
get_aux_axes(tr, viewlim_mode='equal', axes_class=None)[source]
get_tightbbox(renderer, call_axes_locator=True)[source]
twin(aux_trans=None, axes_class=None)[source]

create a twin of Axes for generating a plot with a sharex x-axis but independent y axis. The y-axis of self will have ticks on left and the returned axes will have ticks on the right

twinx(axes_class=None)[source]

create a twin of Axes for generating a plot with a sharex x-axis but independent y axis. The y-axis of self will have ticks on left and the returned axes will have ticks on the right

twiny(axes_class=None)[source]

create a twin of Axes for generating a plot with a shared y-axis but independent x axis. The x-axis of self will have ticks on bottom and the returned axes will have ticks on the top