天天看點

%matplotlib inline UnknownBackend: No event loop integration for 'inline'.

在ipython中執行%matplotlib inline報如下錯誤:

UnknownBackend: No event loop integration for ‘inline’. Supported event loops are: qt, qt4, qt5, gtk, gtk2, gtk3, tk, wx, pyglet, glut, osx

解決辦法:使用jupyter notebook互動環境.

jupyter notebook安裝:pip install jupyter

jupyter notebook打開:jupyter notebook

繼續閱讀