Skip to content
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

The document is incorrectly converted. #20468

Closed
MasaYan24 opened this issue Jun 19, 2021 · 1 comment
Closed

The document is incorrectly converted. #20468

MasaYan24 opened this issue Jun 19, 2021 · 1 comment

Comments

@MasaYan24
Copy link

MasaYan24 commented Jun 19, 2021

This may be happening in other places as well.

In the following function's argument, the subs is passed as a tuple. And it is correct.

def __init__(self, base=10.0, subs=(1.0,), numdecs=4, numticks=None):

But if it is documented, the argument subs is passed as a scalar. This is wrong.
https://matplotlib.org/stable/api/ticker_api.html#matplotlib.ticker.LogLocator

class matplotlib.ticker.LogLocator(base=10.0, subs=1.0, numdecs=4, numticks=None)[source]
@timhoffm
Copy link
Member

Thanks for the report!

This is a sphinx issue. I've reported this upstream in sphinx-doc/sphinx#9364.

I'm closing this because we cannot do anything about it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants