From: Andrea G. <and...@gm...> - 2006-11-10 13:22:33
|
Hi Gang, Andrea> Thank you guys, and thanks for the Wiki entry ;-) Andrea. I have a further small question. When I add a line to my plot, the axes gracefully rescale to accomodate the new data plotted. However, when I remove a line, they do not rescale, even if I call: locator = self.leftaxis.yaxis.get_major_locator() locator.autoscale() Or: self.leftaxis.autoscale_view(scalex=False, scaley=True) I also call self.canvas.draw(), self.Refresh()... nothing happens. Is there a way to make the axes rescale after removing a line from a plot? Thank you. Andrea. "Imagination Is The Only Weapon In The War Against Reality." http://xoomer.virgilio.it/infinity77/ |