Re: [Matplotlib-users] use of del() to delete a line

2008-12-11 Thread John Hunter
On Thu, Dec 11, 2008 at 7:56 AM, TP <[EMAIL PROTECTED]> wrote: > TP wrote: > >> I have a question about the behavior of "del()" Python built-in. > > Ok, del only removes a name from the local namespace. > I have found an old answer of John, below. It seems that a better solution > is to use the rem

Re: [Matplotlib-users] use of del() to delete a line

2008-12-11 Thread TP
TP wrote: > I have a question about the behavior of "del()" Python built-in. Ok, del only removes a name from the local namespace. I have found an old answer of John, below. It seems that a better solution is to use the remove method of a line instance: http://osdir.com/ml/python.matplotlib.gene