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.
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