-
-
Notifications
You must be signed in to change notification settings - Fork 7.6k
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
[Doc]: [source] link for deprecated functions leads to _api/deprecation.py #22039
Comments
This will presumably would be a fix to Lines 580 to 636 in a35921c
Labeled as good first issue because it involves no public API changes, but medium as you will need to work with the code linked above and do a bunch of code scraping to see if we can get back to the source of the decorated function! |
maybe it makes more sense to integrate this in sphinx-doc/sphinx#1556 (if not already covered by sphinx-doc/sphinx#9625) than to create an own version? |
Thanks @tacaswell for pointing me to the rigth file. With the help of https://bugs.python.org/issue34305 the fix was trivial. |
Documentation Link
https://matplotlib.org/devdocs/api/dates_api.html#matplotlib.dates.MicrosecondLocator.set_data_interval
Problem
see title, [source] links to https://github.com/matplotlib/matplotlib/blob/main/lib/matplotlib/_api/deprecation.py#L1693-L1696, i.e. the line numbers are correct but the file is wrong (
_api/deprecation.py
instead ofmatplotlib/dates.py
)Suggested improvement
[source] link should lead to deprecated function, i.e. in the given example to
matplotlib/lib/matplotlib/dates.py
Lines 1693 to 1696 in a35921c
Matplotlib Version
3.5.1
The text was updated successfully, but these errors were encountered: