On Mon, Apr 7, 2008 at 8:38 AM, Manuel Metz <[EMAIL PROTECTED]> wrote:
> The problem is that "release_zoom" in backend_bases.py is called twice in > the above case if zoomed to a twinx'ed plot. One way to fix this behavior is > to set a "twin" attribute to the axes instance. Attached is a patch against > the 0.91 trunk. > > John: is this okay or is there a better way to fix the problem? Hey Manuel, thanks for fixng this. I don't think it is critical that this be fixed on the maintenance branch since it is a relatively small bug (only applies in twinned axes) but I have a minor suggestion for you in the fix for the trunk. It is not a good idea for a class outside the axes to access a "protected" "_twinx" attribute. Probably better is to either make the attribute public by naming it "istwinx" or something like that, or make a method. JDH ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel