https://stackoverflow.com/questions/21784641/installation-issue-with-matplotlib-python
I assume you have installed the pip matplotlib, there is a directory in you root called ~/.matplotlib.
Create a file ~/.matplotlib/matplotlibrc there and add the following code: backend: TkAgg
本文介绍了解决Python中Matplotlib安装问题的方法。如果使用pip安装了Matplotlib后遇到问题,可以在根目录下创建一个名为~/.matplotlib/matplotlibrc的文件,并在其中添加一行代码:backend: TkAgg。

1483

被折叠的 条评论
为什么被折叠?



