🔵 🔵 🔵


Primary

၊၊||၊|။

pyplot.ylabel() ⚬|Documentation|1st|20251021004121-00-⌔

matplotlib.pyplot.ylabel — Matplotlib 3.10.8 documentation#matplotlib.pyplot.ylabel

matplotlib.pyplot.ylabel(ylabel, fontdict=None, labelpad=None, ﹡, loc=None, ﹡﹡kwargs)

Set the label for the y-axis.

Parameters:
ylabel: str

The label text.

labelpad: float, default: rcParams["axes.labelpad"] (default: 4.0)

Spacing in points from the Axes bounding box including ticks and tick labels. If None, the previous value is left as is.

loc: {‘bottom’, ‘center’, ‘top’}, default: rcParams["yaxis.labellocation"] (default: 'center')

The label position. This is a high-level alternative for passing parameters y and horizontalalignment.

Other Parameters:
﹡﹡kwargs: Text properties

Text properties control the appearance of the label.

See also:
text

Documents the properties supported by Text.

Notes:

Note: This is the pyplot wrapper for axes.Axes.set_ylabel.

Printed 2026-06-28.

(echo:: @ )

Link to original

Secondary

• • •