Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes to colour map handling in matplotlib 3.5 #10

Closed
MBravoS opened this issue Oct 5, 2022 · 1 comment
Closed

Changes to colour map handling in matplotlib 3.5 #10

MBravoS opened this issue Oct 5, 2022 · 1 comment
Assignees

Comments

@MBravoS
Copy link
Owner

MBravoS commented Oct 5, 2022

I just noticed that with version 3.5 of matplotlib they started a change on how to handle colour maps, and with version 3.6 they started raising deprecation warnings. It should be a very simple change, from our current use of matplotlib.cm.register_cmap (currently in line 38 of cm.py) to matplotlib.colormaps.register. I'll look into it later this week.

@MBravoS MBravoS self-assigned this Oct 5, 2022
@MBravoS
Copy link
Owner Author

MBravoS commented Oct 11, 2022

Implemented the new method while keeping backward compatibility in v1.0.2.

@MBravoS MBravoS closed this as completed Oct 11, 2022
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

No branches or pull requests

1 participant