redlines.set_visible(False)
it is also possible to delete the line from ax.lines.
Ex: del ax.lines[-1] deletes the last line.
you need to perform a redraw for the change to be visible on the plot.
<quote author="Mathew Yeates-4">
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
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network
management toolset available today. Delivers lowest initial
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users