Version 2.2.4
matplotlib

mpl_toolkits.axes_grid1.parasite_axes.host_axes

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

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

Parameters:

figure : matplotlib.figure.Figure

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

*args, **kwargs :

Will be passed on to the underlying Axes object creation.