-
Notifications
You must be signed in to change notification settings - Fork 29
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
ENH: future proof against matplotlib's evolving API #44
ENH: future proof against matplotlib's evolving API #44
Conversation
f7dd6fe
to
0afafc1
Compare
@1313e I opened a bit early, right now even |
c6b45da
to
cfb6082
Compare
cfb6082
to
e4f99b1
Compare
@1313e this is now ready for review. |
cmap_new = mplcm.get_cmap('cmr.rainforest') | ||
assert cmap_new is mod.cmap | ||
cmap_new = _get_cmap('cmr.rainforest') | ||
# assert cmap_new is mod.cmap |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I could not figure out a way to keep this working, but it also seemed like an implementation detail far from what end-users actually observe. Not sure what is the right approach here
cmap_new = mplcm.get_cmap('cmr.infinity') | ||
assert cmap_new is mod.cmap | ||
cmap_new = _get_cmap('cmr.infinity') | ||
# assert cmap_new is mod.cmap |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same as above
I think cmasher's CI is also broken for a different reason, and flake8 tests do not work with the latest version. I was able to pass tests locally using |
@neutrinoceros Thank you. |
about flake8 + pytest, this issue seems relevant: tholo/pytest-flake8#87 |
Thanks for your efforts @neutrinoceros |
Thank you ! |
fix #43