I need to plot several lines in one figure, and by clicking on one get it\'s reference and remove it from the figure, but I have no idea how to do it. I need to do it in django,