-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
FIX: remove unnecessary self
in super_
-calls, fixes #12265
#12268
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
Conversation
closes #12265 |
@anntzer @ImportanceOfBeingErnest I'm not sure how to add tests for this. Would need a bit of guidance. |
A test would sit either in As test you may choose the most minimal, yet general code that would produce this behaviour. Two options are:
Both are explained in https://matplotlib.org/devel/testing.html |
Thanks @kmuehlbauer ! |
Since image comparisson tests are a little expensive, I think one would benefit from creating one single figure with 3 subplots (one for pcolor, one for pcolormesh, one for contour and contourf) instead of 4 individual figures. In general, you may by now have noticed that |
@ImportanceOfBeingErnest You are completely right, I'll change it as suggested as soon as possible. Yes, we use the toolkits quite extensively. Time to give something back, I think. |
So what's happening now is that the tests fail (Seen by the red "Some checks were not successful") because of some deviation between the produced image and the target image. This is most often the case when the
|
As we are already talking about re-generating the images there is also a style option (which should be set to 'default'). Can you please make sure to squash the image commits (so we don't carry around the un-used images in git). [edited to remove redundant requests] |
@ImportanceOfBeingErnest @tacaswell I'll force push to my branch, to clean the history. The problem I'm facing, is not the text, but the contour-lines (created from |
78ca6c9
to
0c170c3
Compare
The RMS was below 0.039 in all cases. So I set |
Safety margin wasn't good enough. Will fix this the next day... |
428dc48
to
893738d
Compare
rebased on top of current master due to conflicts |
@anntzer, @ImportanceOfBeingErnest This is good to go from my end. Due to the erratic behaviour of |
…r_`-calls, fixes matplotlib#12265
PR Summary
PR Checklist