Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Add explicit getter / setter overloads for pyplot.{xlim,ylim}#30199
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Conversation
I don't think the docstrings are correct here. Placing them on the overloads doesn't really produce both. What you end up with is the docstring to |
You've mentioned these as well, but it seems like this PR only changed |
I think the added complexity of the auto-generation is not not worth it, in particular given that we want a different docstring. As proposed in#30160 (comment) writing out the signature manually and/or adding overloads should be good enough. |
Uh oh!
There was an error while loading.Please reload this page.
e36bffb
intomatplotlib:mainUh oh!
There was an error while loading.Please reload this page.
PR summary
This PR update the
tools/boilerplate.py
for autogenerate getter / setter:Axes.xlim
Axes.ylim
T.get_meth() -> TGet
;T.set_meth(...) -> TSet
PR checklist