Matplotlib 3.0 - axes_grid1.axes_size.Fraction

mpl_toolkits.axes_grid1.axes_size.Fraction




matplotlib

mpl_toolkits.axes_grid1.axes_size.Fraction

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

मामले: mpl_toolkits.axes_grid1.axes_size._Base

एक उदाहरण जिसका आकार Ref_size का एक अंश है।

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