Skip to content

Replace the removed get_cmap by colormaps - #43

Closed
sergedroz wants to merge 1 commit into
laserson:masterfrom
sergedroz:master
Closed

sergedroz wants to merge 1 commit into
laserson:masterfrom
sergedroz:master

Conversation

@sergedroz

Copy link
Copy Markdown

get_cmap was removed from matplotlib. Colormaps are now selected through matplotlib.colormaps.

@laserson

Copy link
Copy Markdown
Owner

Thanks @sergedroz! I checked with Claude and it seems like matplotlib.cm.get_cmap was removed but plt.get_cmap() remains for backward compatibility.

@sergedroz

Copy link
Copy Markdown
Author

Yes, that seems to work too. As long as it works :-)

@laserson

Copy link
Copy Markdown
Owner

Awesome, thanks for the contribution, but I think we'll leave it as-is for now.

@laserson laserson closed this Sep 10, 2026
@laserson

Copy link
Copy Markdown
Owner

Oh, it appears this was fixed a year ago but I never pushed it to PyPI. I remedied that, so if you reinstall you'll get version 0.4.5 which works now. Thanks for reporting!

@sergedroz

Copy link
Copy Markdown
Author

Great, thanks, I was confused, because my install didn't work. Great piece, it stars in a lot of presos I give :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants