matplotlib.figure.SubFigure.align_labels#
- SubFigure.align_labels(axs=None)[source]#
Align the xlabels and ylabels of subplots with the same subplotsrow or column (respectively) if label alignment is beingdone automatically (i.e. the label position is not manually set).
Alignment persists for draw events after this is called.
- Parameters:
See also
Notes
This assumes that all Axes in
axsare from the sameGridSpec,so that theirSubplotSpecpositions correspond to figure positions.
On this page