解决 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
相关文章
相关标签/搜索