How to remove lines in a Matplotlib plot,ax.lines.pop(0)