Michael Droettboom wrote: > Hmm... works fine for me here, both with the zoom/pan tool and zoom to > rect. Can you describe a particular action that isn't working? I'm at > a loss otherwise...
Mike, When I run João's commands in ipython -pylab and click the pan/zoom button, panning or zooming moves the plotted curve, but the axvline stays in the middle of the picture instead of moving with the x=0.5 point. Same with zoom-to-rect: the axvline stays in the middle of the window, not at x=0.5. Eric > > Mike > > Eric Firing wrote: >> Michael Droettboom wrote: >>> Thanks for the reminder. It wasn't propagating the "non-affine" >>> invalidation correctly. I think I have a fix in r6465, but please >>> let me know if you see anything else funny. >>> >>> Cheers, >>> Mike >> >> Mike, >> >> It looks like that helps, fixing the window resize behavior, but >> zooming and panning still do not work in the original example given by >> João Silva: >> >> import matplotlib.pyplot as pl >> import numpy as np >> >> x = np.linspace(0.0,1.0,100) >> >> pl.semilogy(x,x**2) >> pl.axvline(x=0.5,ls='--',color='k') >> pl.show() >> >> Eric > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel