在Ubuntu上使用Python34和matplotlib遇到的

2016-01-12  本文已影响182人  穆弋

This is in case someone is having the same problem on Ubuntu 14.04, as I did using Python 3.4.3. By using bits and hints from JDong's answer, I've solved the problem as follows. (Basically change the MatPlotLib backend to qt5agg.)

The above steps have solved it for me on Ubuntu 14.04. I hope that helps.

sudo apt-get install python3-pyqt5

打开python console import matplotlib matplotlib.matplotlib_fname()

sudo vim [matplotlibrc file path]

上一篇 下一篇

猜你喜欢

热点阅读