mplutils.align_axes_vertically#
- mplutils.align_axes_vertically(ax, reference_ax, alignment='center')[source]#
Set horizontal position of ax relative to reference_ax.
- Parameters:
- ax
matplotlib.axes.Axes Axes to reposition.
- reference_ax
matplotlib.axes.Axes Reference axes.
Should be in the same row as ax.
- alignment{
"center","top","bottom"}, default"center" Which reference axis to take from reference_ax.
- ax