Re: [Matplotlib-users] plotting through ipython and QT4 custom widgets

2012-05-26 Thread AI
;); f.write('yes\n'); f.flush(); f.close() Regards, Antonio On Fri, May 25, 2012 at 9:50 AM, AI wrote: > Hi, > > same problem with ipython 0.12 and matplotlib 1.1.1rc. > > To recall, I'm trying to add a QT4 widget to a matplotlib figure (MPL is > using Qt4 as back

Re: [Matplotlib-users] plotting through ipython and QT4 custom widgets

2012-05-25 Thread AI
rface() from ipython it works. Basically I want to preserve the maplotlib+ipython interactive workflow, but using some "enhanced" figures (i.e. mpl figure+qt4 widgets). Thank you for any suggestion. Antonio 2012/5/24 AI > Hi, > > I want to add a QT4 widget to a matplotlib fig

[Matplotlib-users] plotting through ipython and QT4 custom widgets

2012-05-24 Thread AI
Hi, I want to add a QT4 widget to a matplotlib figure, but the widget does not react to user input. Here it is a test case: from PyQt4 import QtGui, QtCore from pylab import * def test(): plot([1,2,3], lw=2) qt4_interface(gcf()) class qt4_interface: def __init__(self,fig):