matplotlib.axis.XAxis.set_label

XAxis.set_label(s)

Set a label that will be displayed in the legend.

Parameters:

s : object

s will be converted to a string by calling str.