-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
[Doc]: add examples of what each type deprecation means #27456
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
Comments
Hopefully only expiring deprecations can be made a standing sprint/good first issue. |
To be clear, the examples in #26865 are about expiring not adding deprecations. Having done it once, I am not sure I would want to use expiring deprecations as a sprint issue again. The helpers mentioned are well documented in the source (e.g. matplotlib/lib/matplotlib/_api/deprecation.py Lines 50 to 91 in 7ba90fe
On net I think this is sufficiently documented for its audience. |
https://matplotlib.org/stable/devel/contribute.html#expire-deprecation Though I would argue to document them in the docs if you don't want to expand this section of the docs.
The advantage of @QuLogic's write up, and integrating it into the docs, is that it's got framing/context + example. What is the benefit of making them chase down an example that they may not be sure is a good example? ETA: also my thinking on this is that this is already written to serve a need & not having it is more likely to either mean folks bounce cause they're not sure where to start or they ask us these questions and we ad-hoc write this guide. |
Documentation Link
https://matplotlib.org/devdocs/devel/api_changes.html#deprecation
Problem
The deprecation docs are fairly terse in terms of which decorator gets applied where/how.
Suggested improvement
@QuLogic had a really nice write up with examples of how to do deprecation in #26865 and I think it'd be great to fold that into our deprecation guide.
Especially if deprecation is gonna be a standing sprint/good first issue, it's nice to be able to point to a page in docs and not have it mixed up w/ issue information;.
The text was updated successfully, but these errors were encountered: