Re: [matplotlib-devel] Selecting WX2.8 in examples

2009-03-11 Thread Christopher Barker
Eric Firing wrote: > I have applied your patch, plus related changes to backend_wx and > backend_wxagg as suggested by Chris, to the 0.98.5 maintenance branch, > and then used svnmerge to propagate the changes to the trunk. (In other > words, I judged the changes to be a bug fix rather than a n

Re: [matplotlib-devel] Selecting WX2.8 in examples

2009-03-11 Thread Sandro Tosi
On Wed, Mar 11, 2009 at 20:49, Eric Firing wrote: > I have applied your patch, plus related changes to backend_wx and > backend_wxagg as suggested by Chris, to the 0.98.5 maintenance branch, and > then used svnmerge to propagate the changes to the trunk.  (In other words, > I judged the changes to

Re: [matplotlib-devel] Selecting WX2.8 in examples

2009-03-11 Thread Eric Firing
Sandro Tosi wrote: > On Fri, Mar 6, 2009 at 22:24, Sandro Tosi wrote: >> On Fri, Mar 6, 2009 at 22:12, Sandro Tosi wrote: >> import wxversion >> wxversion.select('2.8') >> from wx import * >> wx.__version__ >>> '2.8.7.1' >>> >>> That solves the problem of multi-wx on a system. >>>

Re: [matplotlib-devel] Selecting WX2.8 in examples

2009-03-10 Thread Sandro Tosi
On Fri, Mar 6, 2009 at 22:24, Sandro Tosi wrote: > On Fri, Mar 6, 2009 at 22:12, Sandro Tosi wrote: > import wxversion > wxversion.select('2.8') > from wx import * > wx.__version__ >> '2.8.7.1' >> >> That solves the problem of multi-wx on a system. >> >> What do you think about ad

Re: [matplotlib-devel] Selecting WX2.8 in examples

2009-03-09 Thread Christopher Barker
Sandro Tosi wrote: >> What do you think about adding those 2 line into wx examples? >> hmmm - only the examples? or should it be in the wx back-end itself? >> Maybe at least a version check? > > I'll leave this to the mpl gurus... fair enough. > yeah, that's what we need: I got 2 version i

Re: [matplotlib-devel] Selecting WX2.8 in examples

2009-03-09 Thread Sandro Tosi
On Mon, Mar 9, 2009 at 21:55, Christopher Barker wrote: > Sandro Tosi wrote: import wxversion wxversion.select('2.8') from wx import * wx.__version__ > '2.8.7.1' > > That solves the problem of multi-wx on a system. > > What do you think about

Re: [matplotlib-devel] Selecting WX2.8 in examples

2009-03-09 Thread Christopher Barker
Sandro Tosi wrote: >>> import wxversion >>> wxversion.select('2.8') >>> from wx import * >>> wx.__version__ '2.8.7.1' That solves the problem of multi-wx on a system. What do you think about adding those 2 line into wx examples? hmmm - only the examples? or

Re: [matplotlib-devel] Selecting WX2.8 in examples

2009-03-06 Thread Sandro Tosi
On Fri, Mar 6, 2009 at 23:00, Eric Firing wrote: > Sandro Tosi wrote: >> >> On Fri, Mar 6, 2009 at 22:12, Sandro Tosi wrote: >> >> import wxversion >> wxversion.select('2.8') >> from wx import * >> wx.__version__ >>> >>> '2.8.7.1' >>> >>> That solves the problem of multi-wx on

Re: [matplotlib-devel] Selecting WX2.8 in examples

2009-03-06 Thread Eric Firing
Sandro Tosi wrote: > On Fri, Mar 6, 2009 at 22:12, Sandro Tosi wrote: > import wxversion > wxversion.select('2.8') > from wx import * > wx.__version__ >> '2.8.7.1' >> >> That solves the problem of multi-wx on a system. >> >> What do you think about adding those 2 line into wx examp

Re: [matplotlib-devel] Selecting WX2.8 in examples

2009-03-06 Thread Sandro Tosi
On Fri, Mar 6, 2009 at 22:12, Sandro Tosi wrote: import wxversion wxversion.select('2.8') from wx import * wx.__version__ > '2.8.7.1' > > That solves the problem of multi-wx on a system. > > What do you think about adding those 2 line into wx examples? Moreover, I will provide

[matplotlib-devel] Selecting WX2.8 in examples

2009-03-06 Thread Sandro Tosi
Hello, we are facing a problem in Debian where a user has problems running embedding_in_wx*.py examples. The problem is: >>> from wx import * Traceback (most recent call last): File "", line 1, in AttributeError: 'module' object has no attribute '__DocFilter' >>> import wx >>> print wx.__versi