mpl_toolkits.axes_grid1.axes_size.AxesX#

class mpl_toolkits.axes_grid1.axes_size.AxesX(axes, aspect=1.0, ref_ax=None)[source]#

Bases: _Base

Scaled size whose relative part corresponds to the data width of the axes multiplied by the aspect.

get_size(renderer)[source]#

Return two-float tuple with relative and absolute sizes.

Examples using mpl_toolkits.axes_grid1.axes_size.AxesX#

HBoxDivider and VBoxDivider demo

HBoxDivider and VBoxDivider demo

Simple axes divider 3

Simple axes divider 3