Re: [Matplotlib-users] key_press_events in matplotlib embedded in pyqt4

2012-02-18 Thread Saurav Pathak
I created an issue here: https://github.com/matplotlib/matplotlib/issues/707 On 02/18/2012 11:00 AM, Benjamin Root wrote: On Saturday, February 18, 2012, Jerzy Karczmarczuk wrote: Saurav Pathak : > I am trying to generate key press events in matplotlib (imshow) embedded > in p

Re: [Matplotlib-users] key_press_events in matplotlib embedded in pyqt4

2012-02-18 Thread Benjamin Root
On Saturday, February 18, 2012, Jerzy Karczmarczuk wrote: > Saurav Pathak : > > I am trying to generate key press events in matplotlib (imshow) embedded > > in pyqt4, but I am getting nowhere. > Yes, another victim... > > My small animation test program > > http://users.info.unicaen.fr/~karczma/TE

Re: [Matplotlib-users] key_press_events in matplotlib embedded in pyqt4

2012-02-18 Thread Jerzy Karczmarczuk
Saurav Pathak : > I am trying to generate key press events in matplotlib (imshow) embedded > in pyqt4, but I am getting nowhere. Yes, another victim... My small animation test program http://users.info.unicaen.fr/~karczma/TEACH/Test/isingVZ.py run under Windows XP / Python 2.7, shows the followi

[Matplotlib-users] key_press_events in matplotlib embedded in pyqt4

2012-02-18 Thread Saurav Pathak
Hi, I am trying to generate key press events in matplotlib (imshow) embedded in pyqt4, but I am getting nowhere. My code is given below. Even though the imshow seems to work OK, there is no response when I press keys. I am using an mpl_connect self.canvas.mpl_connect('key_press_event', se