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