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

Update deprecated colormap APIs #583

Merged
merged 9 commits into from
Jun 10, 2024
Merged

Update deprecated colormap APIs #583

merged 9 commits into from
Jun 10, 2024

Conversation

henry2004y
Copy link
Contributor

Trying to fix #582 by using the new APIs in Matplotlib 3.9 (which was deprecated since 3.6). I am not sure is the wrapper functions on the PyPlot side should also be renamed. I have not tested this locally since I don't know how to smoothly switch matplotlib versions without affecting my current environment...

@henry2004y henry2004y marked this pull request as ready for review May 23, 2024 14:11
src/colormaps.jl Outdated Show resolved Hide resolved
@henry2004y
Copy link
Contributor Author

Minor bump:) Are we satisfied with this, or more tweaks/tests are required?

README.md Outdated Show resolved Hide resolved
@stevengj stevengj merged commit 6ed7f72 into JuliaPy:master Jun 10, 2024
4 of 6 checks passed
@stevengj
Copy link
Member

Probably PythonPlot.jl needs a similar PR?

@henry2004y
Copy link
Contributor Author

Do we need to release a patch soon since this is affecting the usage of PyPlot.jl with Matplotlib 3.9?

timholy added a commit to timholy/PyPlot.jl that referenced this pull request Jul 2, 2024
Given JuliaPy#583, I think a minor bump might be warranted.

Presumably fixes doctest failures like this SnoopCompile one: https://github.com/timholy/SnoopCompile.jl/actions/runs/9759104755/job/26935099642?pr=386
@timholy timholy mentioned this pull request Jul 2, 2024
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.

Issue with get_cmap() deprecation
2 participants