-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Deprecate imshow_only_kwargs keyword in imshow_norm #9915
Conversation
imshow_only_kwargs
keyword in imshow_norm
@@ -238,15 +238,6 @@ def test_imshow_norm(): | |||
|
|||
imshow_norm(image, ax=ax, vmin=0, vmax=1) | |||
|
|||
# Note that the following is deprecated in Matplotlib 3.2 |
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 think we should keep the tests until the keyword is actually removed. Although we should add a pytest.warns
to ensure the deprecation warning is raised correctly too.
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.
Ah yes, thanks! Done.
Note to maintainer: After this is merged, please open an issue to remind ourselves to remove the keyword after a deprecation period. |
3c04758
to
4466725
Compare
4466725
to
77b52db
Compare
Closes #9861.
Note that I didn't use
deprecated_renamed_argument
because of the bug I discovered in #9914.