removing lines from plot

Hi
I've added some lines with
ax.add_line(yellowlines)
ax.add_line(redlines)

how can I remove the lines without completely redrawing everything?

-Mathew