Delete a plot line in interactive mode?

Hi,

I'm new to matplotlib and am very impressed!

I have a beginner type question:

In interactive mode (using the GtkAgg backend) I'll plot multiple
lines on a single subplot. The output got clutterred so I was looking
for a pylab command to remove one of the plot lines but could not find
any easy way to do this.

Is this the case? Do I have to clear the current axes(cla) and replot all my
lines
minus the line I don't want?

Something like this would be nice:
   line_nbr = 3 # delete third line on the current axes
   deleteline(line_nbr)

Thanks, Mike

···

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com