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
PPSD: Need to adjust to set_clim
API change in matplotlib 3.1-3.3
#2652
Conversation
1.2.x is still very lax about matplotlib version, so we should make sure the to-be-changed matplotlib calls work on old versions: Line 113 in 2926827
|
Do you want to do this for |
Ideally yes, since we never know if anything upcoming will ever warrant a 1.2.3 |
@megies, here is my understanding of the issue, please let me know if I have erred (branching off of maintenance_1.2.x):
I am a little confused on the matplotlib version. At the moment I see that the current master branch has CC |
@millipedes yes, thats exactly what is to do here.
The The You can also have a look at this: https://github.com/obspy/obspy/wiki#developer-corner
This will be a fix on the In any case @millipedes, things have changed a bit with all the reports of installation problems with newest numpy, so we'll want to do the release ASAP, so I'll handle this one myself I think, to avoid potential back and forth communication. I'll ping you in other issues again, that don't have such a strong time constraint. :-) |
Should be OK like this, let's see what CI has to say |
Looks OK on those Travis builds that can still run. I think all the older ones (2.7 etc) are already switched off on Travis and Appveyor |
We need to adjust some PPSD plotting internals to a matplotlib API change:
@millipedes this is something pretty simple and confined, if you wanna give it a shot? It might need an if/else depending on matplotlib version, but actually my guess is that the mentioned
ScalarMappable.set_clim
should be in all old matplotlibs as well, but needs to be checked. This should be worked on branching off ofmaintenance_1.2.x