-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
throw deprecation warning on empty call to fig.add_axes() #15286
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.
Please add an API change note. By "unsure" do you mean unsure whether or how to add that note?
@ core devs: Do we still want to bring this into 3.2? |
Not sure how, looks like my .rst is breaking the documentation build. |
@timhoffm I don't know where 3.2 is at, but this is a long-standing situation so I doubt its urgent |
Deprecations | ||
```````````` | ||
|
||
Calling `fig.add_axes()` with no arguments currently return None, |
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.
This will try and link to a method in the library. You need to enclose in double backticks to make a literal.
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.
thanks Jody
f32a4da
to
31e7ceb
Compare
From a practical view, I think |
OK, I had missed the fact/importance that 3.2 is branched. I would argue against worrying about backporting this. |
@KSafran Thanks and congratulations to your first contribution to Matplotlib! Maybe see you back some time. |
PR Summary
Deprecate call to fig.add_axes() with no arguments as discussed in #15059
My first contribution, feedback is welcome. Unsure about adding API change to doc/api/next_api_changes.
PR Checklist