mpl_toolkits.axes_grid1.parasite_axes.host_subplot#

mpl_toolkits.axes_grid1.parasite_axes.host_subplot(*args,axes_class=<class'mpl_toolkits.axes_grid1.mpl_axes.Axes'>,figure=None,**kwargs)[source]#

Create axes that can act as a hosts to parasitic axes.

Parameters:
figureFigure

Figure to which the axes will be added. Defaults to the current figurepyplot.gcf().

*args, **kwargs

Will be passed on to the underlyingAxes object creation.

Examples usingmpl_toolkits.axes_grid1.parasite_axes.host_subplot#

Parasite axis demo

Parasite axis demo