Python——解决matplotlib之 plt.show()无法显示图片(亲测有效)

修改 matplotlibrc 文件

路径:anaconda3Libsite-packagesmatplotlibmpl-datamatplotlibrc

backend : Agg   =》   backend : TkAgg

原文地址:https://www.cnblogs.com/yxyun/p/14134104.html