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 afraction of theref_size.

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

Return two-float tuple with relative and absolute sizes.