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