Selecting normalisation within the ROI view of the Spectrum Viewer updates and displays the spectrum plot from the Image view (see screenshot)
Steps To Reproduce
Load ToF sample data into MI
Open Spectrum Viewer
Select Normalise
Resize and Move default ROI.
Image view spectrum plot should now also be visible within the ROI view alongside spectrum for default ROI.
Expected Behaviour
Spectrum line plot from Image view should not be visible within the ROI view.
Current Behaviour
Spectrum line plot from image view is visible within the ROI view when normalisation is selected.
A work around to resolve this is flicking between the Image view and the ROI view alongside the spectrum line plot for the ROI view.
Context
Mantid Imaging 2.8.0
Bug found during Hackathon
Failure Logs
WARNING: /mantidimaging-dev/lib/python3.12/site-packages/pyqtgraph/graphicsItems/PlotItem/PlotItem.py:509: UserWarning: Item already added to PlotItem, ignoring.
WARNING: /mantidimaging-dev/lib/python3.12/site-packages/pyqtgraph/graphicsItems/PlotItem/PlotItem.py:509: UserWarning: Item already added to PlotItem, ignoring.
Summary
Selecting normalisation within the ROI view of the Spectrum Viewer updates and displays the spectrum plot from the Image view (see screenshot)
Steps To Reproduce
Expected Behaviour
Spectrum line plot from Image view should not be visible within the ROI view.
Current Behaviour
Spectrum line plot from image view is visible within the ROI view when normalisation is selected. A work around to resolve this is flicking between the Image view and the ROI view alongside the spectrum line plot for the ROI view.
Context
Mantid Imaging 2.8.0 Bug found during Hackathon
Failure Logs
Screenshot(s)