1.按照安装python及环境配置 - 人间寒梅 - 博客园 (cnblogs.com),将3.9装好。 2.在官网下载3.7的对应文件 3.下载后运行,并自定义下载且选中添加到path.,自己为python建一个文件夹。 4.配置环境变量,添加37的两个并上移到39前面。 1、右键“我的电脑”,选 Read More
posted @ 2021-07-27 21:33 人间寒梅 Views(3340) Comments(0) Diggs(0) Edit
https://blog.csdn.net/u010358304/article/details/78906768?utm_source=blogxgwz3 讲的很好,收藏 Read More
posted @ 2021-07-27 21:23 人间寒梅 Views(866) Comments(0) Diggs(0) Edit
plt.tick_params(labelsize=10) labels = ax1.get_xticklabels() + ax1.get_yticklabels() [label.set_fontname('Times New Roman') for label in labels]#设置坐标轴 Read More
posted @ 2021-07-27 21:22 人间寒梅 Views(7060) Comments(0) Diggs(0) Edit
1.安装库pip3 install matplotlib(具体见博客) 2.向Matplotlib添加中文字体Microsoft YaHei(微软雅黑) Matplotlib不能默认使用中文字体显示字符的原因只是因为其未包含中文字体文件,所以导入中文字体文件到Matplotlib中即可。 网上下载微 Read More
posted @ 2021-07-27 21:11 人间寒梅 Views(3334) Comments(0) Diggs(0) Edit
官网下载 环境配置 https://blog.csdn.net/m0_46976252/article/details/105447728 安装第三方库 Win+r cmd python -m pip install -i http://pypi.douban.com/simple --truste Read More
posted @ 2021-07-27 20:58 人间寒梅 Views(281) Comments(0) Diggs(0) Edit