Re: [Matplotlib-users] Qt integration and sip API

2011-02-24 Thread Michele Mattioni
chele. On Fri, Feb 25, 2011 at 12:30 AM, Michele Mattioni wrote: > Dear list, > > I'm trying to to use matplotlib in a Qt application which needs the > sip API set to 2 > >        import sip >        sip.setapi('QString', 2) > > However if I do this I get t

[Matplotlib-users] Qt integration and sip API

2011-02-24 Thread Michele Mattioni
Dear list, I'm trying to to use matplotlib in a Qt application which needs the sip API set to 2 import sip sip.setapi('QString', 2) However if I do this I get this error ImportError: cannot import name QString I'm wondering if I'm the first to stumble upon this one, or

Re: [Matplotlib-users] Draggable matplotlib legend

2010-01-29 Thread Michele Mattioni
Good job! +1 On Fri, Jan 29, 2010 at 4:14 AM, Fernando Perez wrote: > On Thu, Jan 28, 2010 at 8:01 PM, Christopher Barker > wrote: > > Might I suggest that that be made: > > > > leg.draggable(True) > > leg.draggable(False) > > > > Agreed. My favorite api for toggles is: > > _state = True > > d

[Matplotlib-users] PyQt4 backend delete the widow in C++ but not in Python

2010-01-19 Thread Michele Mattioni
This is the BUG: https://sourceforge.net/tracker/?func=detail&aid=2927619&group_id=80706&atid=560720 If you close the window clicking on the right cross to close the window the window closes properly. If you then try to create a new widow (with the same index) you hit a RunTimeError. Expect: Th