class_docstr: Scaled size whose relative part corresponds to the data width
  of the *axes* multiplied by the *aspect*.
class_docstr_tok: ["Scaled","size","whose","relative","part","corresponds","to","the","data","width","of","the","*","axes","*","multiplied","by","the","*","aspect","*","."]
code: def __init__(self, axes, aspect=1.0, ref_ax=None):
      self._axes = axes
      self._aspect = aspect
      if aspect == "axes" and ref_ax is None:
          raise ValueError("ref_ax must be set when aspect='axes'")
      self._ref_ax = ref_ax
  
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import six
  import matplotlib.cbook
  from matplotlib.axes import Axes
label_desc: Use image node_id 1 to create a new AxesX object from inherited base classes: _Base with example: obj = AxesX(axes, aspect, ref_ax)