2009/3/27 Søren Nielsen <soren.skou.niel...@gmail.com>

> Hi,
>
> I can delete a line plot by removing the line object from axes.get_lines()
> .. but the limits are still saved.. so the axes is still autoscaled using so
> it includes the deleted line... Does anyone know how do I remove these
> limits? or update the data limits on the plotted data so that autoscale
> works again?



Use ax.relim()


http://matplotlib.sourceforge.net/api/axes_api.html#matplotlib.axes.Axes.relim

JDH
------------------------------------------------------------------------------
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to