|
From: Erik T. <eri...@gm...> - 2008-02-13 04:31:30
|
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 have renamed some variables and didn't go and change them further up or something. Changing the variable name in a couple places seems to make it all work on my setup. The diff is attached. On Feb 12, 2008 6:11 PM, John Hunter <jd...@gm...> wrote: > On Feb 12, 2008 7:02 PM, Erik Tollerud <eto...@uc...> 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 changes in the Rectangle object. Note that there's > > also a fix in the RectangleSelector to prevent it from raising an > > exception under the new API. > > OK, thanks Erik, I committed this to the trunk as svn r4956. It seems > to be working fine, so thanks for the patch. I'm not sure right now > wha the problem is with useblit=False that you are experiencing, but > if you make any headway on this let us know. > > JDH > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Matplotlib-devel mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-devel > -- Erik Tollerud Graduate Student Center For Cosmology Department of Physics and Astronomy 4155B Frederick Reines Hall University of California, Irvine Office Phone: (949)824-2996 Cell: (651)307-9409 eto...@uc... |