Seems like Axes.relim is what I was looking for. It does not take
collections into account but I don't need that for now.
2011/8/1, Goyo :
> Hy all,
>
> I recently had a pretty hard time trying to figure out how to properly
> autoscale a plot after removing a line (see attached script). Finally
>
Hy all,
I recently had a pretty hard time trying to figure out how to properly
autoscale a plot after removing a line (see attached script). Finally
I found at [1] that I have to explicitly refresh the axes dataLim
before autoscaling.
In [1] John Hunter says that computing the proper dataLim can