docstr: Helper for `.twinx`/`.twiny`/`.twin`.
  
  *kwargs* are forwarded to the parasite axes constructor.
docstr_tok: ["Helper","for","`",".twinx","`","\/","`",".twiny","`","\/","`",".twin","`",".","*","kwargs","*","are","forwarded","to","the","parasite","axes","constructor","."]
code: def _add_twin_axes(self, axes_class, **kwargs):
      """
      Helper for `.twinx`/`.twiny`/`.twin`.
  
      *kwargs* are forwarded to the parasite axes constructor.
      """
      if axes_class is None:
          axes_class = self._base_axes_class
      ax = parasite_axes_class_factory(axes_class)(self, **kwargs)
      self.parasites.append(ax)
      ax._remove_method = self._remove_any_twin
      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 9 for calling the HostAxesBase obj's underlying member method code with example usage: obj._add_twin_axes(axes_class) and returns: ax