matplotlib / 3.7 / _as_gen / mpl_toolkits.axes_grid1.axes_size.fraction.html

mpl_toolkits.axes_grid1.axes_size.Fraction

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

Bases: _Base

An instance whose size is a fraction of the ref_size.

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

© 2012–2023 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/stable/api/_as_gen/mpl_toolkits.axes_grid1.axes_size.Fraction.html