import matplotlib matplotlib.matplotlib_fname() 打开matplotlibrc配置文件。 按Ctrl+F,查找:#font.sans-serif。改成simhei