code: def host_axes(*args, axes_class=Axes, figure=None, **kwargs):
      """
      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.Axes` object creation.
      """
      import matplotlib.pyplot as plt
  
      host_axes_class = host_axes_class_factory(axes_class)
      if figure is None:
          figure = plt.gcf()
      ax = host_axes_class(figure, *args, **kwargs)
      figure.add_axes(ax)
      return ax
  
imports: from matplotlib import _api, cbook
  import matplotlib.artist
  import matplotlib.transforms
  from matplotlib.transforms import Bbox
  from .mpl_axes import Axes
label_desc: Use image node_id 1 for calling a global function with example usage: host_axes() and returns: ax