size of label matplotlib code example Example: label size matplotlib plt.xlabel("Time (s)", fontsize = 40)