Marsilea-viz / marsilea

Declarative creation of composable visualization for Python (Complex heatmap, Upset plot, Oncoprint and more~)
https://marsilea.rtfd.io/
MIT License
174 stars 6 forks source link

`get_colormap` fails fue to API changes in `matplotlib == 3.9.0` #35

Closed PauBadiaM closed 5 months ago

PauBadiaM commented 5 months ago

Hi @Mr-Milk,

Just letting you know that with the recent matplotlib == 3.9.0 they have deprecated the method get_cmap, see here, which makes the function get_colormap fail: https://github.com/Marsilea-viz/marsilea/blob/main/src/marsilea/utils.py#L71

Mr-Milk commented 5 months ago

Thanks for reporting this, I will make a new hot-fix release in the next few days.