Running in Jupyter notebook

42 views
Skip to first unread message

Anton Ivanov

unread,
Jul 28, 2020, 5:29:58 AM7/28/20
to pyqtgraph
Hi, everyone!

I have a problem with just starting using of pyqtgraph in jupyter notebook. I try to run the example --> https://pyqtgraph.readthedocs.io/en/latest/introduction.html, but when executing 'pyqtgraph.examples.run()', Kernel deads and restarts automatically. Does anybody know what could be the reason of this problem?

Thanks in advance!
Screenshot_7.jpg

Anton Ivanov

unread,
Jul 29, 2020, 3:56:37 AM7/29/20
to pyqtgraph
Fortunately, I found the solution. Executing of the following strings helped me:

matplotlib.use('Qt5Agg')
%matplotlib qt5

see for details --> https://stackoverflow.com/questions/48244675/use-matplotlib-with-pyqt5-in-jupyter-notebook
вторник, 28 июля 2020 г., 12:29:58 UTC+3 пользователь Anton Ivanov написал:
Reply all
Reply to author
Forward
0 new messages