Re: [matplotlib-devel] Fixing matplotlib for wxPython 2.8

2009-07-10 Thread Eric Firing
Gael Varoquaux wrote: > On Fri, Jul 10, 2009 at 11:05:24PM +0200, Gael Varoquaux wrote: >>> Committed to svn. Please check it. > >> Certainly does work betters. > > Actually, I beg your pardon, but it does not really work: if you have > 2.6 and 2.8 installed, it will still import 2.6, which is

Re: [matplotlib-devel] Fixing matplotlib for wxPython 2.8

2009-07-10 Thread Gael Varoquaux
On Fri, Jul 10, 2009 at 11:05:24PM +0200, Gael Varoquaux wrote: > > Committed to svn. Please check it. > Certainly does work betters. Actually, I beg your pardon, but it does not really work: if you have 2.6 and 2.8 installed, it will still import 2.6, which is not what you want. Here is a pat

Re: [matplotlib-devel] Fixing matplotlib for wxPython 2.8

2009-07-10 Thread Gael Varoquaux
On Fri, Jul 10, 2009 at 09:41:30AM -1000, Eric Firing wrote: >> OK, but right now MPL is broken with my version of wxversion, which is the >> one shipped by default in Ubuntu. So it is broken for a lot of user. > > Are you sure? Could you be pulling in some other wxversion? The only > other per

Re: [matplotlib-devel] Fixing matplotlib for wxPython 2.8

2009-07-10 Thread Eric Firing
Gael Varoquaux wrote: > On Fri, Jul 10, 2009 at 08:12:14AM -1000, Eric Firing wrote: >> Gael Varoquaux wrote: >>> It seems that matplotlib needs the following patch for wxPython 2.8 >>> (traceback hard to replicate, as you need to import wx before importing >>> matplotlib): > >>> Index: lib/matplo

Re: [matplotlib-devel] Fixing matplotlib for wxPython 2.8

2009-07-10 Thread Eric Firing
Gael Varoquaux wrote: > It seems that matplotlib needs the following patch for wxPython 2.8 > (traceback hard to replicate, as you need to import wx before importing > matplotlib): > > Index: lib/matplotlib/backends/backend_wx.py > ==

Re: [matplotlib-devel] Fixing matplotlib for wxPython 2.8

2009-07-10 Thread Gael Varoquaux
On Fri, Jul 10, 2009 at 08:12:14AM -1000, Eric Firing wrote: > Gael Varoquaux wrote: >> It seems that matplotlib needs the following patch for wxPython 2.8 >> (traceback hard to replicate, as you need to import wx before importing >> matplotlib): >> Index: lib/matplotlib/backends/backend_wx.py >>

Re: [matplotlib-devel] crazy ideas for MPL

2009-07-10 Thread Robert Kern
On 2009-07-09 23:19, Andrew Straw wrote: > Erik Tollerud wrote: >> 2. Installation of traits or traitsgui should not be a necessity for >> MPL... perhaps this will change in the future, but it's currently a >> far bigger task to get traits and traits UI working on an arbitrary >> system than it is

[matplotlib-devel] Fixing matplotlib for wxPython 2.8

2009-07-10 Thread Gael Varoquaux
It seems that matplotlib needs the following patch for wxPython 2.8 (traceback hard to replicate, as you need to import wx before importing matplotlib): Index: lib/matplotlib/backends/backend_wx.py === --- lib/matplotlib/backends/back

[matplotlib-devel] Fixing matplotlib for wxPython 2.8

2009-07-10 Thread Gael Varoquaux
It seems that the following fix is necessary for matplolitb to work wxPython 2.8. Index: lib/matplotlib/backends/backend_wx.py === --- lib/matplotlib/backends/backend_wx.py (revision 7250) +++ lib/matplotlib/backends/backend_wx.py