lib.plotting.suplabel¶
- lib.plotting.suplabel(axis, label, shift=0, labelpad=5, ha='center', va='center', **kwargs)¶
Add global x-coordinate or y-coordinate label to the figure. Similar to matplotlib.suptitle. Taken from https://stackoverflow.com/questions/6963035/pyplot-axes-labels-for-subplots.
- Parameters
axis (str) – ‘x’ or ‘y’.
label (string) – Label string.
shift (float, optional) – Shift along
axis.labelpad (float, optional) – Padding perpendicular to
axis.ha (str, optional) – Label horizontal alignment.
va (str, optional) – Label vertical alignment.
kwargs (dict) – Arguments for
matplotlib.pyplot.text().