[Ipython-tickets] [IPython] #246: pylab should work from pdb using wx backend

IPython ipython-tickets@scipy....
Mon Apr 28 16:43:33 CDT 2008


#246: pylab should work from pdb using wx backend
-------------------------+--------------------------------------------------
 Reporter:  jniemasik    |       Owner:  fperez
     Type:  enhancement  |      Status:  new   
 Priority:  normal       |   Milestone:        
Component:  ipython      |     Version:        
 Severity:  normal       |    Keywords:        
-------------------------+--------------------------------------------------
 1. With the normal Python shell, only the Tk backend supports pylab in
 interactive mode.[[BR]]
 2. If you run IPython -wthread, interactive pylab works with the wx
 backend.[[BR]]
 3. But if you run IPython -wthread and then launch pdb, interactive pylab
 does not work.[[BR]]

 I don't know if 3 is inevitable due to 1.  If it's not, it would be great
 to be able to do:

 ipython -wthread[[BR]]
 import pdb[[BR]]
 pdb.set_trace()[[BR]]
 import pylab[[BR]]
 pylab.ion()[[BR]]
 plot([1,2])  # currently the GUI is not responsive until you exit pdb

-- 
Ticket URL: <http://ipython.scipy.org/ipython/ipython/ticket/246>
IPython <http://ipython.scipy.org>
The IPython interactive Python system


More information about the Ipython-tickets mailing list