Describe the bug
There is an error when hovering over a specific dataset in the Slice Viewer. The error says:
Traceback (most recent call last):
File "C:\Users\mlc47243\AppData\Local\mambaforge\envs\mantid-developer\lib\site-packages\matplotlib\cbook\__init__.py", line 314, in process
func(*args, **kwargs)
File "c:\users\mlc47243\documents\mantid-dev\mantid-review\mantid\qt\python\mantidqt\mantidqt\widgets\sliceviewer\views\cursor.py", line 66, in on_mouse_move
self.on_cursor_at(xdata, ydata)
File "c:\users\mlc47243\documents\mantid-dev\mantid-review\mantid\qt\python\mantidqt\mantidqt\widgets\sliceviewer\presenters\imageinfowidget.py", line 88, in _on_cursor_at_axesimage
self._widget.cursorAt(xdata, ydata, arr[i, j], extra_cols)
Exception: indexOfValue - value out of range
Describe the bug There is an error when hovering over a specific dataset in the Slice Viewer. The error says:
To Reproduce
Load the below data into Workbench osiris100318-100329_graphite002_red_elwin_eq.zip
Right click the workspace and
Open Slice Viewer
Double click the y axis and change the limits to be from 262 to 266
Hover over the thin strip of data
The error will happen!
Expected behavior There should be no error
Screenshots![image](https://github.com/mantidproject/mantid/assets/40830825/31d0eb2d-fb9c-4d51-9a9b-8183b4de9f84)
Platform/Version (please complete the following information):