On Wed, Jun 17, 2009 at 5:27 PM, Elan Pavlov<epav...@gmail.com> wrote: > Hi, > I'm using an animated graph in which most of the time I don't want it > to autoscale (due to speed). Once in a while I want it to change the > limits of the y-axis. In order to do this I use set_ylim and follow by > a canvas.draw(). However it does not actually redraw the canvas and > the old tick labels remain (although the scales are reset). When I > manually resize the canvas in updates the tick labels. Any ideas what > I'm doing wrong?
This doesn't sound right -- a call to canvas.draw should redraw the whole canvas cleanly, with the exception of Artists where the animated property is set. Can you reduce your code to a free-standing example that we can run? JDH ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users