code: def host_axes(*args, **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`` object creation.
      """
      import matplotlib.pyplot as plt
  
      axes_class = kwargs.pop("axes_class", None)
      host_axes_class = host_axes_class_factory(axes_class)
      fig = kwargs.get("figure", None)
      if fig is None:
          fig = plt.gcf()
      ax = host_axes_class(fig, *args, **kwargs)
      fig.add_axes(ax)
      plt.draw_if_interactive()
      return ax
  
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import six
  from matplotlib import artist, collections, transforms, rcParams
  from matplotlib.axes import subplot_class_factory
  from matplotlib.transforms import Bbox
  from .mpl_axes import Axes
  import numpy
label_desc: Use image node_id 6 for calling a global function with example usage: host_axes() and returns: ax