neuromaps
neuromaps copied to clipboard
matplotlib version
Description of issue
Hi!
I think that the toolkit does not work with the some versions of matplotlib (for instance, 3.9.0), but it does with version 3.5.1. So, maybe it is worth mentioning in the requirements.
More details:
When using version 3.9.0 and I tried to do:
from neuromaps import plotting
,
I got:
the error module 'matplotlib.cm' has no attribute 'register_cmap'
It seems that the problematic line was from file neuromaps/plotting.py:16
:
16 'plt.cm.register_cmap(
17 'caret_blueorange', mcolors.LinearSegmentedColormap.from_list('blend', [
18 '#00d2ff', '#009eff', '#006cfe', '#0043fe',
19 '#fd4604', '#fe6b01', '#ffd100', '#ffff04'
20 ])
This was solved when using version 3.5.1
Best, Eliana
Code of Conduct
- [X] I agree to follow the
neuromaps
Code of Conduct