vispipe.plot_backend.MPL_Figure.set_ylabel#

MPL_Figure.set_ylabel(ylabel, labelpad=None, *, loc=None, ax=None, **kwargs)#

Sets the label of the yaxis.

Parameters:
  • ylabel (str | None) – The label that will be placed on the yaxis.

  • labelpad (float | None) – The padding in points of the label from the yaxis.

  • loc (str | None) – The position of the label.

  • ax (Axes | None) – Axes to plot onto. If None self.gca() is called.

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

Return type:

Text

Returns:

A matplotlib.text.Text object.