Skip to content

Fix lookup issue with newer matplotlib - #832

Merged
cvanelteren merged 7 commits into
mainfrom
fix/key-lookup-database
Sep 30, 2026
Merged

cvanelteren merged 7 commits into
mainfrom
fix/key-lookup-database

Conversation

@cvanelteren

Copy link
Copy Markdown
Collaborator

Closes #831

Fixes an issue mpl 3.11.2 where lookup of None colormap are not allowed. This issue ensure that we override the ColormapDatabase such that look up will not default to mpl when it is not registered yet and will allow for lookup in both case lowered and original colormap name.

@cvanelteren
cvanelteren marked this pull request as ready for review September 29, 2026 12:19
@codecov

codecov Bot commented Sep 29, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 91.30435% with 2 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
ultraplot/colors.py 84.61% 2 Missing ⚠️

📢 Thoughts on this report? Let us know!

@cvanelteren

Copy link
Copy Markdown
Collaborator Author

Need to add a few tests otherwise good to go

@cvanelteren
cvanelteren merged commit d48479c into main Sep 30, 2026
22 checks passed
@cvanelteren
cvanelteren deleted the fix/key-lookup-database branch September 30, 2026 00:42
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.

Matplotlib v3.11.2 compatibility cmap None

1 participant