Version 3.0.2
matplotlib
Fork me on GitHub

mpl_toolkits.axes_grid1.axes_size.Fraction

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

Bases: mpl_toolkits.axes_grid1.axes_size._Base

An instance whose size is a fraction of the ref_size.

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