Re: [matplotlib-devel] Patch for making SpanSelector usable in embedded matplotlib

2008-02-18 Thread Erik Tollerud
You're absolutely correct - I wrote the original patch against 91.2, and forgot to test it against the new trunk. Below is a new patch that HAS been tested against the trunk version. It includes another fix for some API changes in the Rectangle object. Note that there's also a fix in the Rectang

Re: [matplotlib-devel] Patch for making SpanSelector usable in embedded matplotlib

2008-02-13 Thread John Hunter
On Feb 12, 2008 10:31 PM, Erik Tollerud <[EMAIL PROTECTED]> wrote: > While doing some further testing, I'm getting another bug in the svn > code - whenever I try to right-click and drag to zoom out when using > the toolbar, an Exception is raised complaining about an unbound > local. I traced the

Re: [matplotlib-devel] Patch for making SpanSelector usable in embedded matplotlib

2008-02-12 Thread Erik Tollerud
While doing some further testing, I'm getting another bug in the svn code - whenever I try to right-click and drag to zoom out when using the toolbar, an Exception is raised complaining about an unbound local. I traced the problem to what appears to be a typo in backend_bases.py where someone must

Re: [matplotlib-devel] Patch for making SpanSelector usable in embedded matplotlib

2008-02-12 Thread John Hunter
On Feb 12, 2008 7:02 PM, Erik Tollerud <[EMAIL PROTECTED]> wrote: > You're absolutely correct - I wrote the original patch against 91.2, > and forgot to test it against the new trunk. Below is a new patch > that HAS been tested against the trunk version. It includes another > fix for some API cha

[matplotlib-devel] Patch for making SpanSelector usable in embedded matplotlib

2008-02-10 Thread Erik Tollerud
I've been working on an application that uses matplotlib as its plotting library, and I've been noticing a steady decrease in performance over time. I figured out the cause as coming from the matplotlib SpanSelector widget - I had to create a new widget every time the axes were cleared, as the Spa