how to label an x axis in a plot python code example Example: add x axis label python plt.xlabel("X axis label")