You are reading an old version of the documentation (v2.2.5). For the latest version see https://matplotlib.org/stable/api/_as_gen/matplotlib.pyplot.ylabel.html
Version 2.2.5
matplotlib
Fork me on GitHub

Table of Contents

matplotlib.pyplot.ylabel

matplotlib.pyplot.ylabel(s, *args, **kwargs)[source]

Set the y-axis label of the current axes.

Call signature:

ylabel(label, fontdict=None, labelpad=None, **kwargs)

This is the pyplot equivalent of calling set_ylabel on the current axes. See there for a full parameter description.