[matplotlib-devel] Enhancement to matplotlib's PyQt4 backend

2009-04-28 Thread Pierre Raybaut
Hi all, I would like to contribute to matplotlib with this enhancement for the PyQt4 backend: the idea is to add a toolbar button to configure figure options (axes, curves, ...). It's based on a tiny module called formlayout to generate PyQt4 form dialog automatically. Some screenshots: http://c

Re: [matplotlib-devel] Enhancement to matplotlib's PyQt4 backend

2009-04-28 Thread Pierre Raybaut
2009/4/28 John Hunter : > > > On Tue, Apr 28, 2009 at 8:18 AM, Pierre Raybaut > wrote: >> >> Hi all, >> >> I would like to contribute to matplotlib with this enhancement for the >> PyQt4 backend: the idea is to add a toolbar button to configure figure

Re: [matplotlib-devel] Enhancement to matplotlib's PyQt4 backend

2009-06-06 Thread Pierre Raybaut
2009/4/28 Dave Peterson : > Darren Dale wrote: > > On Tue, Apr 28, 2009 at 12:19 PM, Pierre Raybaut > wrote: >> >> 2009/4/28 John Hunter : >> > >> > >> > On Tue, Apr 28, 2009 at 8:18 AM, Pierre Raybaut >> > wrote: >> >> >

Re: [matplotlib-devel] Enhancement to matplotlib's PyQt4 backend

2009-06-06 Thread Pierre Raybaut
Gökhan SEVER a écrit : > Hi, > > formlayout will definitely a very nice addition to matplotlib Qt4 > backended plotting windows. It reminds me Traits UI's > configure.traits() method. > > PyQt4 programming is still a mystery to me, and have chosen to learn > Traits instead. > > I am also curious

[matplotlib-devel] Qt4 backend: critical bug with PyQt4 v4.6+

2009-11-04 Thread Pierre Raybaut
Hi, Some Spyder users have reported a critical bug occuring with matplotlib 0.99's Qt4 backend and PyQt4 v4.6 (e.g. in Ubuntu Karmic). Here is the traceback after calling 'plot([])', closing figure and calling again 'plot([])' (e.g. in an IPython session with options --pylab and --q4thread):

Re: [matplotlib-devel] Qt4 backend: critical bug with PyQt4 v4.6+

2009-11-04 Thread Pierre Raybaut
) self.emit(QtCore.SIGNAL('destroyed()')) and replacing QtGui.QMainWindow by FigureWindow in FigureManagerQT. Pierre Pierre Raybaut a écrit : > Hi, > > Some Spyder users have reported a critical bug occuring with > matplotlib 0.99's Qt4 backend and PyQt4 v4.6 (e.g. in Ubuntu

Re: [matplotlib-devel] Qt4 backend: critical bug with PyQt4 v4.6+

2009-11-07 Thread Pierre Raybaut
> > On Wed, Nov 4, 2009 at 5:29 PM, Pierre Raybaut wrote: > >> > A simpler fix would be: >> > >> > ? ? ? ?class FigureWindow(QtGui.QMainWindow): >> > ? ? ? ? ? ?def __init__(self): >> > ? ? ? ? ? ? ? ?super(FigureWindow, self).__in

Re: [matplotlib-devel] Qt4 backend: critical bug with PyQt4 v4.6+

2010-01-01 Thread Pierre Raybaut
2009/12/31 Fernando Perez : > On Thu, Dec 31, 2009 at 4:54 AM, Darren Dale wrote: >> I have been resistant to committing this patch because (in my opinion) >> mpl should not have to provide workarounds for bugs in package X on OS >> Y, distribution Z. I think this particular issue was fixed when >

Re: [matplotlib-devel] [Numpy-discussion] Announcing toydist, improving distribution and packaging situation

2010-01-01 Thread Pierre Raybaut
Hi David, Following your announcement for the 'toydist' module, I think that your project is very promising: this is certainly a great idea and it will be very controversial but that's because people expectactions are great on this matter (distutils is so disappointing indeed). Anyway, if I may b

Re: [matplotlib-devel] [SPAM] Re: [SciPy-User] [Numpy-discussion] Announcing toydist, improving distribution and packaging situation

2010-01-02 Thread Pierre Raybaut
2010/1/2 David Cournapeau : > On Fri, Jan 1, 2010 at 10:43 PM, Pierre Raybaut wrote: >> Hi David, >> >> Following your announcement for the 'toydist' module, I think that >> your project is very promising: this is certainly a great idea and it >> wi

Re: [matplotlib-devel] [SPAM] Re: Enhancement to matplotlib's PyQt4 backend

2010-01-03 Thread Pierre Raybaut
2010/1/3 Darren Dale : > On Sun, Jan 3, 2010 at 9:11 AM, Pierre Raybaut wrote: >> 2009/12/1 Darren Dale : >>> On Tue, Apr 28, 2009 at 8:18 AM, Pierre Raybaut >>> wrote: >>>> Hi all, >>>> >>>> I would like to contribute to matplotli

Re: [matplotlib-devel] Enhancement to matplotlib's PyQt4 backend

2010-01-03 Thread Pierre Raybaut
2010/1/3 John Hunter : > On Sun, Jan 3, 2010 at 9:28 AM, Darren Dale wrote: > >> Your patch file is backwards, it would revert your changes if applied >> to the updated code. It doesn't matter, the patch is so small that the >> changes can just be cut and pasted. Unfortunately, however, I will not

Re: [matplotlib-devel] Enhancement to matplotlib's PyQt4 backend

2010-01-11 Thread Pierre Raybaut
John, Following to your last commit on "added qt4_editor dialog" (rev 8064), here is a significant (but simple) improvement adding an "Apply" button to the option dialog box (very convenient) -- suggested by Gökhan. (attached diff files should patch formlayout.py and figureoptions.py as in rev. 8

Re: [matplotlib-devel] Enhancement to matplotlib's PyQt4 backend

2011-02-28 Thread Pierre Raybaut
Hi Darren, > -Message d'origine- > De : Darren Dale [mailto:dsdal...@gmail.com] > Envoyé : dimanche 27 février 2011 22:02 > À : Pierre Raybaut > Cc : matplotlib-devel > Objet : Re: [matplotlib-devel] Enhancement to matplotlib's > PyQt4 backend >

[matplotlib-devel] Bug when embedding Matplotlib 0.91.2 in PyQt 4.4.2

2008-05-30 Thread Pierre Raybaut
often in PyQt). Thanks for your help! Regards, Pierre Raybaut - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01

Re: [matplotlib-devel] Bug when embedding Matplotlib 0.91.2 in PyQt 4.4.2

2008-06-01 Thread Pierre Raybaut
> > Hi Pierre, > > On Friday 30 May 2008 5:21:01 pm Pierre Raybaut wrote: > >> > First, I would like to congratulate you for your work on Matplotlib. I >> > am using Matplotlib widgets in all my current projects, embedded in PyQt >> > graphical user i

Re: [matplotlib-devel] Bug when embedding Matplotlib 0.91.2 in PyQt 4.4.2

2008-06-03 Thread Pierre Raybaut
2008/6/3 Darren Dale <[EMAIL PROTECTED]>: > On Sunday 01 June 2008 04:10:45 am Pierre Raybaut wrote: > Sorry, I didn't mean to seem brusque. If there is a problem with > matplotlib's > qt4 support, I would prefer to have a chance to look into it before the > p

[matplotlib-devel] Bug in Qt4 backend (navigation toolbar destroy method)

2008-06-30 Thread Pierre Raybaut
olbar2QT' has no 'toolitem' attribute (see line 310). I think that 'toolitem' was used in the previous Qt4 backend implementation. To make things work, I simply removed this 'destroy' method which is probably deprecated. Regards, Pierre Raybaut -

[matplotlib-devel] Bugs in Qt4 backend with the latest PyQt release

2008-08-16 Thread Pierre Raybaut
cript: with PyQt 4.3.3 pan/zoom is real-time, and with PyQt 4.4.3 it's really slower (in fact, zooming and panning are happening at the right speed but after a short delay from the mouse click) Regards, Pierre Raybaut #!/usr/bin/env python import sys, os from PyQt4 impo

Re: [matplotlib-devel] Bugs in Qt4 backend with the latest PyQt release

2008-08-18 Thread Pierre Raybaut
Hi Darren, 2008/8/18 Darren Dale <[EMAIL PROTECTED]>: >> (1) in class 'NavigationToolbar2QT' l. 285-300 : I had to replace '.svg' >> by '.png' for all the icons to be displayed correctly on the navigation >> toolbar (only one was already loaded in the right file format). > > Could this be a proble

Re: [matplotlib-devel] Bugs in Qt4 backend with the latest PyQt release

2008-08-18 Thread Pierre Raybaut
Darren Dale a écrit : >> If you need something to prove that this has nothing to do with my >> machine or my software, I can tell you that there is exactly the same >> bug on a virtual machine, after a clean Windows XP install, and using >> only the official Python MSI installer and the official Py

Re: [matplotlib-devel] Bugs in Qt4 backend with the latest PyQt release

2008-08-19 Thread Pierre Raybaut
Hi Darren, 2008/8/18 Darren Dale <[EMAIL PROTECTED]>: > Nevermind. It turns out its not exactly poor performance, but for some reason > the gui events were not getting processed as frequently on windows. Maybe Qt > changed something in an attempt to optimize performance. > > I applied a patch in s

Re: [matplotlib-devel] re lease schedule for next version

2012-02-26 Thread Pierre Raybaut
Le 25/02/2012 22:59, John Hunter a écrit : On Sat, Feb 25, 2012 at 1:54 PM, Benjamin Root wrote: > >> > I would be interested in accelerating the schedule. Since this is a >> > bug-fix release and not a major release, we can presume the tree is >> > pretty stable. How about we a

Re: [matplotlib-devel] re lease schedule for next version

2012-02-26 Thread Pierre Raybaut
I found out that a similar issue was reported for Spyder the same day as this one... So I just posted something about this bug on PyQt mailing list: http://www.riverbankcomputing.com/pipermail/pyqt/2012-February/031166.html -Pierre Le 26 février 2012 12:23, Pierre Raybaut a écrit : > Le 25

[matplotlib-devel] Upstream Matplotlib Qt Designer Plugin

2012-03-19 Thread Pierre Raybaut
Hi all, Is anyone interested in including the Matplotlib QtDesigner plugin which I wrote for Python(x,y)? The code is quite simple and hasn't evolved for a while now (3 years) but apparently it is still appreciated by users even outside Python(x,y). Here are the two files which are necessary to