delete button calls LinePlot destructor