Remove lines before plotting.