python matplotlib 中文显示乱码设置 原因:是matplotlib库中没有中文字体.1 解决方案:1.进入C:\Anaconda64\Lib\site-packages\matplotlib\mpl-data该文件夹下就能看到matplotlibrc配置文件,打开该配置文件 找到下面这行:然后,将前面的注释去掉,save. #font.serif : Bitstream Vera Serif, New Century Schoolbook, Century Schoolbook…
“Control panel”->"Clock,Language and Region"->"Region and Language"->第四项 "Administrative”->"Changed System locale..."->"Current System locale"一项中选择“Chinese(Simplified,PRC)”,之后重启就行了.…