docstr: Add a parasite axes to this host.
  
  Despite this method's name, this should actually be thought of as an
  ``add_parasite_axes`` method.
  
  .. versionchanged:: 3.7
     Defaults to same base axes class as host axes.
  
  Parameters
  ----------
  tr : `~matplotlib.transforms.Transform` or None, default: None
      If a `.Transform`, the following relation will hold:
      ``parasite.transData = tr + host.transData``.
      If None, the parasite's and the host's ``transData`` are unrelated.
  viewlim_mode : {"equal", "transform", None}, default: "equal"
      How the parasite's view limits are set: directly equal to the
      parent axes ("equal"), equal after application of *tr*
      ("transform"), or independently (None).
  axes_class : subclass type of `~matplotlib.axes.Axes`, optional
      The `~.axes.Axes` subclass that is instantiated.  If None, the base
      class of the host axes is used.
  **kwargs
      Other parameters are forwarded to the parasite axes constructor.
docstr_tok: ["Add","a","parasite","axes","to","this","host",".","Despite","this","method","'s","name",",","this","should","actually","be","thought","of","as","an","``","add_parasite_axes","``","method",".","..","versionchanged",":",":","3.7","Defaults","to","same","base","axes","class","as","host","axes",".","Parameters","--","--","--","--","--","tr",":","`","~matplotlib.transforms.Transform","`","or","None",",","default",":","None","If","a","`",".Transform","`",",","the","following","relation","will","hold",":","``","parasite.transData","=","tr","+","host.transData","``",".","If","None",",","the","parasite","'s","and","the","host","'s","``","transData","``","are","unrelated",".","viewlim_mode",":","{","``","equal","''",",","``","transform","''",",","None","}",",","default",":","``","equal","''","How","the","parasite","'s","view","limits","are","set",":","directly","equal","to","the","parent","axes","(","``","equal","''",")",",","equal","after","application","of","*","tr","*","(","``","transform","''",")",",","or","independently","(","None",")",".","axes_class",":","subclass","type","of","`","~matplotlib.axes.Axes","`",",","optional","The","`","~.axes.Axes","`","subclass","that","is","instantiated",".","If","None",",","the","base","class","of","the","host","axes","is","used",".","*","*","kwargs","Other","parameters","are","forwarded","to","the","parasite","axes","constructor","."]
code: def get_aux_axes(
      self, tr=None, viewlim_mode="equal", axes_class=None, **kwargs
  ):
      """
      Add a parasite axes to this host.
  
      Despite this method's name, this should actually be thought of as an
      ``add_parasite_axes`` method.
  
      .. versionchanged:: 3.7
         Defaults to same base axes class as host axes.
  
      Parameters
      ----------
      tr : `~matplotlib.transforms.Transform` or None, default: None
          If a `.Transform`, the following relation will hold:
          ``parasite.transData = tr + host.transData``.
          If None, the parasite's and the host's ``transData`` are unrelated.
      viewlim_mode : {"equal", "transform", None}, default: "equal"
          How the parasite's view limits are set: directly equal to the
          parent axes ("equal"), equal after application of *tr*
          ("transform"), or independently (None).
      axes_class : subclass type of `~matplotlib.axes.Axes`, optional
          The `~.axes.Axes` subclass that is instantiated.  If None, the base
          class of the host axes is used.
      **kwargs
          Other parameters are forwarded to the parasite axes constructor.
      """
      if axes_class is None:
          axes_class = self._base_axes_class
      parasite_axes_class = parasite_axes_class_factory(axes_class)
      ax2 = parasite_axes_class(
          self, tr, viewlim_mode=viewlim_mode, **kwargs
      )
      # note that ax2.transData == tr + ax1.transData
      # Anything you draw in ax2 will match the ticks and grids of ax1.
      self.parasites.append(ax2)
      ax2._remove_method = self.parasites.remove
      return ax2
  
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 2 for calling the HostAxesBase obj's underlying member method code with example usage: obj.get_aux_axes(tr, viewlim_mode, axes_class) and returns: ax2