NeuralEnsemble / ephyviewer

Simple viewers for ephys signals, events, video and more
https://ephyviewer.readthedocs.io
MIT License
51 stars 13 forks source link

Replace deprecated matplotlib get_cmap() #185

Closed penguinpee closed 3 months ago

penguinpee commented 4 months ago

The function has been removed from matplotlib >= 3.9. Fixes #184

samuelgarcia commented 3 months ago

Merci!

penguinpee commented 3 months ago

I was pondering using .resampled(N). But I didn't see a difference in output with a quick local smoke test. But the N was there for a reason, I guess. ;)

samuelgarcia commented 3 months ago

No worry. I put it just in case to get the same. I guess that the image rendering is also interpolating the color somehow so should be the same indeed. Thank you.