You can use the set_xlabel and set_ylabel functions in the matplotlib library to change the font size of the horizontal and vertical coordinates, for example: plt.set_xlabel('X', fontsize=14) plt.set_ylabel('Y', fontsize=14)
Change the font size of the horizontal and vertical coordinates of the image drawn by the matplotlib library in Python?
Guess you like
Origin blog.csdn.net/weixin_42601608/article/details/129448540
Recommended
Ranking