mantidproject / mslice

Source code for Mantid MSlice
http://mantidproject.github.io/mslice
1 stars 2 forks source link

Fix crash when plotting from workspace list #915

Closed MialLewis closed 1 year ago

MialLewis commented 1 year ago

Description of work:

888 Removes a line which changes a None intensity_range value to (None, None).

This PR effectively readds this functionality, by changing the default value passed as intensity_range to (None, None) rather than None. It does not make sense for the default value to cause a crash when it is not needed for anything else.

To test:

Follow steps in #911

Fixes #911