# ERROR while running Nanoplot (version 1.28.2 and version 1.36.2)

**URL:** <https://help.galaxyproject.org/t/error-while-running-nanoplot-version-1-28-2-and-version-1-36-2/9005>\
**Category:** Uncategorized\
**Tags:** quality-control, nanoplot\
**Created:** [November 10, 2022, 9:44am UTC](https://help.galaxyproject.org/t/error-while-running-nanoplot-version-1-28-2-and-version-1-36-2/9005 "2022-11-10T09:44:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cbass](https://avatars.discourse-cdn.com/v4/letter/c/74df32/32.png) [@cbass](https://help.galaxyproject.org/u/cbass)\
**Post date:** [November 10, 2022, 9:44am UTC](https://help.galaxyproject.org/t/error-while-running-nanoplot-version-1-28-2-and-version-1-36-2/9005/1 "2022-11-10T09:44:11Z")

</div>

Hi all,  
I tried running Nanoplot version 1.28.2 as well as version 1.36.2 on my local galaxy server, but got an error with both versions.I already ran into some trouble when installing Nanoplot ([Ephemeris won't install tools: 'Timeout during install of tool\_name, extending wait to 1h' - #2 by cbass](https://help.galaxyproject.org/t/ephemeris-wont-install-tools-timeout-during-install-of-tool-name-extending-wait-to-1h/8807/2)) but the installation was eventually successfull. I tried both versions with my own input files as well as files from a galaxy training tutorial, which worked fine on the [usegalaxy.eu](http://usegalaxy.eu) server.  
The error I am running into now is as follows:

> Matplotlib created a temporary config/cache directory at /srv/galaxy/var/tmp/matplotlib-p9chkxz0 because the default path (/srv/galaxy/.config/matplotlib) is not a writable directory; it is highly recommended to set the MPLCONFIGDIR environment variable to a writable directory, in particular to speed up the import of Matplotlib and to better support multiprocessing.  
> Traceback (most recent call last):  
> File “/srv/galaxy/var/dependencies/\_conda/envs/\_\_nanoplot@1.28.2/bin/NanoPlot”, line 10, in   
> sys.exit(main())  
> File “/srv/galaxy/var/dependencies/\_conda/envs/\_\_nanoplot@1.28.2/lib/python3.10/site-packages/nanoplot/NanoPlot.py”, line 95, in main  
> plots = make\_plots(datadf, settings)  
> File “/srv/galaxy/var/dependencies/\_conda/envs/\_\_nanoplot@1.28.2/lib/python3.10/site-packages/nanoplot/NanoPlot.py”, line 132, in make\_plots  
> colormap = nanoplotter.check\_valid\_colormap(settings[“colormap”])  
> File “/srv/galaxy/var/dependencies/\_conda/envs/\_\_nanoplot@1.28.2/lib/python3.10/site-packages/nanoplotter/nanoplotter\_main.py”, line 65, in check\_valid\_colormap  
> if colormap in list(cm.cmap\_d.keys()):  
> File “/srv/galaxy/var/dependencies/\_conda/envs/\_\_nanoplot@1.28.2/lib/python3.10/site-packages/matplotlib/\_api/ **init**.py”, line 224, in **getattr**  
> raise AttributeError(  
> AttributeError: module ‘matplotlib.cm’ has no attribute ‘cmap\_d’

Note: I am using Ubuntu 22.04 (Jammy Jellyfish) as the OS in case this might be helpfull.

---

<div class="post-metadata">

**Author:** ![jennaj](https://sea2.discourse-cdn.com/flex020/user_avatar/help.galaxyproject.org/jennaj/32/27_2.png) [@jennaj](https://help.galaxyproject.org/u/jennaj)\
**Post date:** [December 21, 2023, 8:25pm UTC](https://help.galaxyproject.org/t/error-while-running-nanoplot-version-1-28-2-and-version-1-36-2/9005/2 "2023-12-21T20:25:31Z")

</div>

Closed on December 21, 2023, 8:25pm UTC


