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

mpl_toolkits.axes_grid1.parasite_axes.host_subplot

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

Create a subplot that can act as a host to parasitic axes.

Parameters:
figure : matplotlib.figure.Figure

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

*args, **kwargs :

Will be passed on to the underlying Axes object creation.