Version 3.1.2
matplotlib
Fork me on GitHub

matplotlib.axes.Axes.set_label

Axes.set_label(self, s)

Set a label that will be displayed in the legend.

Parameters:
s : object

s will be converted to a string by calling str.