解決 Matplotlib is currently using agg, which is a non-GUI backend, so cannot show the figure. 問題

1, 安裝 tk-dev 和 python3-tkpython sudo apt-get install tk-dev sudo apt install python3-tkip 2,修改 matplotlibrc 文件 sudo geidt  ~/.../lib/python3.6/site-packages/matplotlib/mpl-data/matplotlibrc 搜索:#backen
相關文章
相關標籤/搜索