December 2017
Intermediate to advanced
386 pages
10h 42m
English
This legend guide is an extension of the documentation available at legend()—please ensure you are familiar with contents of the documentation (https://matplotlib.org/api/pyplot_api.html#matplotlib.pyplot.legend) before proceeding with this guide.
xlabel() and ylabel() function parameters are listed in following tables:
Axes.set_xlabel(xlabel, fontdict=None, labelpad=None, **kwargs)
Set the label for the x axis.
| Parameters |
xlabel: string, x label labelpad: scalar, optional, default: None Spacing in points between the label and the x axis |
Axes.set_ylabel(ylabel, fontdict=None, labelpad=None, **kwargs)
Set the label for the y axis:
| Parameters |
ylabel: string, y label labelpad: scalar, optional, default: None |
Read now
Unlock full access