加上这句话即可 plt.rcParams['font.sans-serif']=['SimHei'] 效果: 转载于:https://www.cnblogs.com/xiuwenli/p/10199787.html