ImportError: cannot import name 'get_cmap' from 'matplotlib.cm'
Successfully installed SAMap, but when I try to run
from samap.mapping import SAMAP
I get the following error related scanpy import: ImportError: cannot import name 'get_cmap' from 'matplotlib.cm'
I am running from inside an env, and I've tried uninstalling and re-installing both scanpy and matplotlib, but neither of these solved my problem. I'm relatively inexperienced with python, so any help would be very appreciated!
I've gotten the same error whether I used pip install or manual installation.
I'm also getting the same issue. PolyFuzz library calls upon the same file within Matplotlib which fails with the same error.
I'm looking into this now - I am getting the same issue.
Looks like matplotlib 3.9.0 version broke things. Installing to an earlier version (<3.9.0) seems to have fixed the issue. I will update the pins... At some point, I really should go in and update all the dependencies properly :'D