Ticket #246 (new enhancement)

Opened 6 months ago

pylab should work from pdb using wx backend

Reported by: jniemasik Assigned to: fperez
Priority: normal Milestone:
Component: ipython Version:
Severity: normal Keywords:
Cc:

Description

1. With the normal Python shell, only the Tk backend supports pylab in interactive mode.
2. If you run IPython -wthread, interactive pylab works with the wx backend.
3. But if you run IPython -wthread and then launch pdb, interactive pylab does not work.

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
import pdb
pdb.set_trace()
import pylab
pylab.ion()
plot([1,2]) # currently the GUI is not responsive until you exit pdb