Hello,
When trying to import mslice in a script open in mantidworbench, there is a bug stating that the “module ‘matplotlib._docstring’ has no attribute ‘dedent_interpd’”. The “matplotlib._docstring” command is located in the script “mantidworkbench/lib/python3.10/site-packages/mslice/plotting/pyplot.py” and calls the script “mantidworkbench/lib/python3.10/site-packages/matplotlib/_docstring.py”, which contains the line “dedent_interpd = interpd = _ArtistPropertiesSubstitution()” (last line of the script). Thus, I don’t know why this error occurs.
Thank you in advance for you help 
Hi
Which version of Mantid are you currently using? Also is it a conda install or a standalone package?
Thanks
Sarah
Hi,
It was the last version, I’ve downloaded it 2 weeks ago so I think it is the 6.13, on Ubuntu. I have used the full installer, not the conda install.
Thank you!
Suzanne
Hi Suzanne,
I think it would be v6.12 as v6.13 has only just been released. I also note that it’s using Python 3.10 and we’ve upgraded to Python 3.11 in v6.13.
I think in the first instance try upgrading your version of Mantid. Try using the conda version as this means you create an environment with the correct versions of each dependency in it. For details on how to do this see Installation — MantidProject landing page documentation.
Let us know how that works.
Sarah
I would rather not reinstall mantid using conda since I already have anaconda and not mamba and I am afraid of conflicts between them if I download mamba (and I do not manage to install mantid using anaconda).
How can I update mantid 6.12 to mantid 6.13 with the full installer ? I have tried to download the full installer of 6.13 but I do not manage to make the mantidworbench command work with this version. I have errors like : “xkbcommon: ERROR: failed to add default include path /jenkins_workdir/workspace/release-next_nightly_deployment/_bundle_build/mantidworkbench/share/X11/xkb”
Thanks,
Suzanne
Hi Suzanne,
It looks like your installation of 6.13.0 was done correctly. The error message is something we have just become aware of on some flavours of Linux. We are currently working on a fix and hope to issue a patch release in the coming days.
Out of interest, what flavour/version of Linux are using?
Thanks,
Tom
Hi Tom, I am using Ubuntu 22.04 LTS “Jammy Jellyfish”.
I hope it helps,
Thanks,
Suzanne