Mtd 5.0 mslice interface

Mantid 5.0: Mslice interface does not show up:

System: LinuxUbuntu

Distributor ID: Ubuntu
Description: Ubuntu 18.04.5 LTS
Release:18.04
Codename:bionic

Versions:

Mantid: 5.0.0

Python: 3.6.9 (default, Jul 17 2020, 12:50:27) [GCC 8.4.0]

Error

Welcome to Mantid 5.0.0
Please cite: http://dx.doi.org/10.1016/j.nima.2014.07.029 and this release: http://dx.doi.org/10.5286/Software/Mantid5.0
All instrument definitions up to date
ImportError: cannot import name ‘is_numlike’
at line 11 in ‘’
caused by line 36 in ‘/opt/Mantid/scripts/ExternalInterfaces/mslice/app/init.py’
caused by line 6 in ‘/opt/Mantid/scripts/ExternalInterfaces/mslice/app/mainwindow.py’
caused by line 1 in ‘/opt/Mantid/scripts/ExternalInterfaces/mslice/presenters/cut_plotter_presenter.py’
caused by line 2 in ‘/opt/Mantid/scripts/ExternalInterfaces/mslice/views/cut_plotter.py’
caused by line 23 in ‘/opt/Mantid/scripts/ExternalInterfaces/mslice/plotting/pyplot.py’

I believe this problem has since been fixed!

As far as I remember, the issue is that your version of matplotlib is probably higher than 2.2.
So the 2 solutions are to downgrade back to MPL 2.2, or to download the nightly (less stable) version of Mantid in the bottom right here.

Whichever you try, tell me how it goes!

Indeed:

matplotlib.version
‘3.3.0’

Downgrading matplotlib? No way…
The night built works nicely concerning that problem of mslice interface.
Thanks for the help.

1 Like