Dear everyone! please help me to solve my basic question!

 I want to 2D plotting in command-line mode (ipython). at the description, 
if I use pyqt, not pyside, I can use interactive mode to plotting.
but I can`t plotting in interactive mode, I must call QApplication.exec_() 
to make the windows appear.

my systems are
OS: macOS Sierra
Python: 3.5.3
pyqt: 5.6.0
pyqtgraph:0.10.0

I used qtconsole of anaconda navigator. my code are

import pyqtgraph as pg
pg.plot([1,2,3]) # windows are not appears
pg.QtGui.QApplication.exec_() #windows and plot are appears, but 
interactive console stop!

how can I do that?

-- 
You received this message because you are subscribed to the Google Groups 
"pyqtgraph" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to pyqtgraph+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pyqtgraph/32c4b7ba-6f4f-447e-8a7f-13a667af8bd1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to