On this page
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))
__init__
(fraction, ref_size)[source]-
Initialize self. See help(type(self)) for accurate signature.
__module__
= 'mpl_toolkits.axes_grid1.axes_size'
get_size
(renderer)[source]
Examples using mpl_toolkits.axes_grid1.axes_size.Fraction
© 2012–2021 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/3.4.3/api/_as_gen/mpl_toolkits.axes_grid1.axes_size.Fraction.html