-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Don't warn on grid removal deprecation if grid is hidden #22285
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
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.
It seems we need a test that this doesn't break in the future? Clearly we don't test with the grid turned on often enough. Otherwise the change seems fine to me.
Fixes matplotlib#21723. See matplotlib#21723 (comment) for a full desciption of motivation and edge cases.
6408397
to
9e6d723
Compare
I have refrained from adding a test because
|
The suggestion here was more to make sure we had a couple tests with different styles turned on. The failure with the colorbar was pretty basic, and in a well-used style. However, I'm fine wth the idea that is beyond this PR's scope |
…if grid is hidden
…285-on-v3.5.x Backport PR #22285 on branch v3.5.x (Don't warn on grid removal deprecation if grid is hidden)
Fixes #21723.
See #21723 (comment)
for a full desrciption of motivation and edge cases.