Re: [matplotlib-devel] AttributeError: 'module' object has no attribute 'GraphicsContext'

2008-06-17 Thread John Hunter
On Tue, Jun 17, 2008 at 9:58 AM, Sandro Tosi <[EMAIL PROTECTED]> wrote: > My plan (as one of maintainers of matplotlib in Debian) is to keep > uploading 0.91.x in unstable, so it can migrate to testing (the > staging area to prepare the next stable release) when needed, and > prepare the 0.98.x pa

Re: [matplotlib-devel] AttributeError: 'module' object has no attribute 'GraphicsContext'

2008-06-17 Thread Sandro Tosi
Hi guys, sorry to have spotted it out late (the thread subject don't help :) and thanks to Manuel to have notified me about this thread. > the debian maintainers are already aware of the new versions, see > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=486074 > > According to them, matplotlib

Re: [matplotlib-devel] AttributeError: 'module' object has no attribute 'GraphicsContext'

2008-06-17 Thread Manuel Metz
Chris Walker wrote: > "John Hunter" <[EMAIL PROTECTED]> writes: > >> On Fri, Jun 13, 2008 at 9:25 AM, Chris Walker >> <[EMAIL PROTECTED]> wrote: >> So if we want to support stable, *and* the latest releases, we've got a lot of ongoing compatibility work to do. For backend maintaine

Re: [matplotlib-devel] AttributeError: 'module' object has no attribute 'GraphicsContext'

2008-06-13 Thread Chris Walker
"John Hunter" <[EMAIL PROTECTED]> writes: > On Fri, Jun 13, 2008 at 9:25 AM, Chris Walker > <[EMAIL PROTECTED]> wrote: > > >> So if we want to support stable, *and* > >> the latest releases, we've got a lot of ongoing compatibility work to > >> do. For backend maintainers willing to do it, I thi

Re: [matplotlib-devel] AttributeError: 'module' object has no attribute 'GraphicsContext'

2008-06-13 Thread John Hunter
On Fri, Jun 13, 2008 at 9:25 AM, Chris Walker <[EMAIL PROTECTED]> wrote: >> So if we want to support stable, *and* >> the latest releases, we've got a lot of ongoing compatibility work to >> do. For backend maintainers willing to do it, I think that will be >> good. But I am hesitant to target s

Re: [matplotlib-devel] AttributeError: 'module' object has no attribute 'GraphicsContext'

2008-06-13 Thread Chris Walker
"John Hunter" <[EMAIL PROTECTED]> writes: > On Thu, Jun 12, 2008 at 3:38 PM, Ken McIvor <[EMAIL PROTECTED]> wrote: > > On Jun 12, 2008, at 3:22 PM, John Hunter wrote: > >> > >> If some wx guru sees an easy fix here, by all means add it. > > > > Not to imply that I'm a guru, but I'll try to look in

Re: [matplotlib-devel] AttributeError: 'module' object has no attribute 'GraphicsContext'

2008-06-12 Thread John Hunter
On Thu, Jun 12, 2008 at 3:38 PM, Ken McIvor <[EMAIL PROTECTED]> wrote: > On Jun 12, 2008, at 3:22 PM, John Hunter wrote: >> >> If some wx guru sees an easy fix here, by all means add it. > > Not to imply that I'm a guru, but I'll try to look into it this evening. Well, you are a guru to us :-) >>

Re: [matplotlib-devel] AttributeError: 'module' object has no attribute 'GraphicsContext'

2008-06-12 Thread Christopher Barker
John Hunter wrote: > If some wx guru sees an easy fix here, by all means add it. > Otherwise, we should decide on a minimum wxpython version for the > trunk and raise an exception. I don't know how GraphicsContext is used in MPL, but it provides nifty features like alpha blending and anti-aliasin

Re: [matplotlib-devel] AttributeError: 'module' object has no attribute 'GraphicsContext'

2008-06-12 Thread Ken McIvor
On Jun 12, 2008, at 3:22 PM, John Hunter wrote: > > If some wx guru sees an easy fix here, by all means add it. Not to imply that I'm a guru, but I'll try to look into it this evening. > Otherwise, we should decide on a minimum wxpython version for the > trunk and raise an exception. I'm always

Re: [matplotlib-devel] AttributeError: 'module' object has no attribute 'GraphicsContext'

2008-06-12 Thread John Hunter
On Thu, Jun 12, 2008 at 3:07 PM, Ken McIvor <[EMAIL PROTECTED]> wrote: > To the best of my knowledge the wx.GraphicsContext class is not > present in wxPython 2.6. Nils, part of what we are trying to do on the 0.98 release series is remove a lot of legacy code supporting 18 versions of everything

Re: [matplotlib-devel] AttributeError: 'module' object has no attribute 'GraphicsContext'

2008-06-12 Thread Christopher Barker
John Hunter wrote: >> AttributeError: 'module' object has no attribute >> 'GraphicsContext' > Unfortunately, I do not have access to wxpython 2.6. wx.GraphicsContext was introduced in wxPython 2.8 -- it's never going to work with 2.6 or older. Personally, I think we should just focus on wxAgg,

Re: [matplotlib-devel] AttributeError: 'module' object has no attribute 'GraphicsContext'

2008-06-12 Thread Ken McIvor
Nils, To the best of my knowledge the wx.GraphicsContext class is not present in wxPython 2.6. Ken - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open S

Re: [matplotlib-devel] AttributeError: 'module' object has no attribute 'GraphicsContext'

2008-06-12 Thread John Hunter
On Thu, Jun 12, 2008 at 2:23 PM, Nils Wagner <[EMAIL PROTECTED] wrote: > "/usr/local/lib64/python2.5/site-packages/matplotlib/backends/backend_wx.py", > line 456, in __init__ > gfx_ctx = wx.GraphicsContext.Create(dc) > AttributeError: 'module' object has no attribute > 'GraphicsContext' > > An

[matplotlib-devel] AttributeError: 'module' object has no attribute 'GraphicsContext'

2008-06-12 Thread Nils Wagner
Hi All, I have changed the backend in matplotlibrc from GTKAgg to WX CONFIGURATION BEGINS HERE # the default backend; one of GTK GTKAgg GTKCairo FltkAgg QtAgg TkAgg # WX WXAgg Agg Cairo GD GDK Paint PS PDF SVG Template #backend : GTKAgg backend : WX Now I get python -i nlp_