GUI: Histogram items in DetectorScene persist between clicks
A histogram is drawn by selecting one of the plotting tools (line plot, horizontal slice, vertical slice) available in SubframeExperiment
(histogram tab). When a plot exists and another is drawn on the DetectorScene
, the old lines/rectangles persist, and are never deleted, although the data in the plot widget is overwritten.
Adding a new CutterItem
to DetectorScene
should always overwrite the last one.