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 get_size(self, renderer):
      l1, l2 = self._axes.get_xlim()
      if self._aspect == "axes":
          ref_aspect = _get_axes_aspect(self._ref_ax)
          aspect = ref_aspect / _get_axes_aspect(self._axes)
      else:
          aspect = self._aspect
  
      rel_size = abs(l2 - l1) * aspect
      abs_size = 0.0
      return rel_size, abs_size
  
imports: from numbers import Real
  from matplotlib import _api
  from matplotlib.axes import Axes
label_desc: Use image node_id 2 for calling the AxesX obj's underlying member method code with example usage: obj.get_size(renderer) and returns: rel_size,  abs_size