change size ylabel plot python code example Example: label size matplotlib plt.xlabel("Time (s)", fontsize = 40)