vispipe.plot_backend.MPL_Figure.set_subtitle#

MPL_Figure.set_subtitle(label, loc=None, pad=None, *, y=None, ax=None, **kwargs)#

Sets the lable for an axis.

Parameters:
  • label (str) – The title for the axis.

  • loc (str | None) – Location of the title.

  • pad (float | None) – The position of the label.

  • y (float | None) – Y position of the title

  • ax (Axes | None) – Padding in points from the axis.

  • **kwargs – Keyword arguments used by ax.set_title()

Return type:

Text

Returns:

A matplotlib.text.Text object.