desihub / speclite

Lightweight utilities for working with spectroscopic data
14 stars 19 forks source link

matplotlib deprecated `cm.get_cmap` #88

Closed dahlend closed 3 months ago

dahlend commented 5 months ago

Hi,

It appears that matplotlib deprecated the get_cmap function several version back, which is breaking plotting.

https://github.com/desihub/speclite/blob/da26fc7503a0ecb1a92eb688b6bf59719303051a/speclite/filters.py#L1994

See, the following matplotlib issue: https://github.com/matplotlib/matplotlib/issues/28349

Thanks!