Newbie. Interactive plot not working.

68 views
Skip to first unread message

Brett McS

unread,
Jan 26, 2018, 4:46:57 AM1/26/18
to pyqtgraph
Hello,

I just installed PyQtGraph and it is absolutely awesome. Exactly what I was looking for.

However, although I can run PyQt scripts with the pg widgets, and the outstanding pyqtgraph.examples run beautifully, when I try to just plot a graph from the terminal (ipython or from python on a windows command shell), I just get an empty window which says "Python not responding" if I click on it. It seems like it would be a simple setting issue, since everything else works.

Any ideas?

Windows terminal session:

D:\Documents> python
Python 3.6.3 |Anaconda custom (64-bit)| (default, Oct 15 2017, 03:27:45) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import pyqtgraph as pg
>>> import numpy as np
>>> x = np.sin(np.arange(0.0, 20.0, 0.1)
>>> pg.plot(x)
<pyqtgraph.graphicsWindows.PlotWindow object at 0x00000141D00A6948>
 (Blank window appears, "Python not responding" heading appears on the window if clicked, and Python crashes if the window is closed)
>>>

System:
Windows 10 x64
Python 3.6
PyQt5
PyQtGraph 0.10.0
Reply all
Reply to author
Forward
0 new messages