-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
fixed docstring error with pandas.Series.plot.area:Unknown parameter: {'stacked'} #48063
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
fixed docstring error with pandas.Series.plot.area:Unknown parameter: {'stacked'} #48063
Conversation
Hi, I don't believe the changes I have made, contributed to the errors in the checks. Could you please clarify? |
There are some related test failures: https://github.com/pandas-dev/pandas/runs/7811767621?check_suite_focus=true |
…joshuabello2550/pandas-bello into fix-PR02-issues-in-docstrings-2
Hi, I have tried to reproduce the test cases that are failing locally but could not. How can I go about debugging these errors? |
The issues look unrelated to this PR. Could you merge in main once more? |
thx @joshuabello2550 |
When you run python
./scripts/validate_docstrings.py --errors=PR02
, one of the errors is/home/pandas/pandas/plotting/_core.py:1470:PR02:pandas.Series.plot.area:Unknown parameters {'stacked'}
The error I believe is because "stacked" is declared in the docstring, but is not a parameter within the function. Even though stacked is only passed in when setting stacked to False, it should still be defined in the function parameter.