kwan888-github / iep

Automatically exported from code.google.com/p/iep
0 stars 0 forks source link

plotting in interactive mode (ion()) does not work, #223

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. from pylab import*
2. ion()
3. plot([1,3,10,100], 'ro-')

What is the expected output? What do you see instead?
figure window opens,but nothing happens, when trying to move the window 
an error code occurs: The kernel process exited. (3489660927)

What version of the product are you using? On what operating system?
3.1 and 3.2, Windows Vista 

Please provide any additional information below.
matplotlib.__version__
'1.1.0', 
rcParams['backend']
'TkAgg'
I tried also other backends, the interactive mode also does not work!
I'm using python also at work and would really enjoy using iep because it 
remines me to Matlab. But if this is not fixed, I have to stick to spyder

Original issue reported on code.google.com by daniel.m...@googlemail.com on 15 Apr 2013 at 8:42

GoogleCodeExporter commented 8 years ago
You need to select a GUI toolkit for the IEP shell (in the shell configurations 
dialog). The rcParams['backend'] should match that GUI toolkit.

I know that at least PyQt4 and PySide work.

Original comment by almar.klein@gmail.com on 16 Apr 2013 at 7:46

GoogleCodeExporter commented 8 years ago
Thanks a lot! PyQt4 works fine!

import matplotlib 
matplotlib.use('QT4Agg')
from matplotlib.pyplot import *
rcParams['interactive']  = True
plot([1,2,3],'o-')
After window is popping up, I can give the next command:
plot([5,7,9],'ro-')

GREAT!

Original comment by daniel.m...@googlemail.com on 28 Apr 2013 at 7:15

GoogleCodeExporter commented 8 years ago
Good to hear!

Original comment by almar.klein@gmail.com on 30 Apr 2013 at 7:04