You are reading an old version of the documentation (v2.2.5). For the latest version see https://matplotlib.org/stable/api/_as_gen/mpl_toolkits.axes_grid1.axes_size.Fraction.html
Version 2.2.5
matplotlib
Fork me on GitHub

mpl_toolkits.axes_grid1.axes_size.Fraction

class mpl_toolkits.axes_grid1.axes_size.Fraction(fraction, ref_size)[source]

An instance whose size is a fraction of the ref_size.

>>> s = Fraction(0.3, AxesX(ax))
get_size(renderer)[source]