MICS-Lab / scyan

Biology-driven deep generative model for cell-type annotation in cytometry. Scyan is an interpretable model that also corrects batch-effect and can be used for debarcoding or population discovery.
https://mics-lab.github.io/scyan/
BSD 3-Clause "New" or "Revised" License
33 stars 1 forks source link

Matplotlib Version got bumped up to 3.9.0 -> change in location of get_cmap function #35

Closed dansteiert closed 5 months ago

dansteiert commented 5 months ago

Description

cannot import name 'get_cmap' from 'matplotlib.cm' -> this got moved to matplotlib.pyplot.getcmap (https://matplotlib.org/stable/api/_as_gen/matplotlib.pyplot.get_cmap.html )

Reproducing the issue

pip install scyan import scyan

Expected behavior

No error

System

dansteiert commented 5 months ago

downgrading matplotlib worked. alternatively, the new version moved the get_cmap function to matplotlib.pyplot.get_cmap

quentinblampey commented 5 months ago

Thanks @dansteiert for reporting this! Since it's an major issue, I'll do a hotfix-release in the next few hours

quentinblampey commented 5 months ago

This is now fixed in scyan==1.6.2!