class_docstr: An instance whose size is a *fraction* of the *ref_size*.
  ::
  
    >>> s = Fraction(0.3, AxesX(ax))
class_docstr_tok: ["An","instance","whose","size","is","a","*","fraction","*","of","the","*","ref_size","*",".",":",":",">",">",">","s","=","Fraction","(","0.3",",","AxesX","(","ax",")",")"]
code: def __init__(self, fraction, ref_size):
      self._fraction_ref = ref_size
      self._fraction = fraction
  
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 Fraction object from inherited base classes: _Base with example: obj = Fraction(fraction, ref_size)