-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Update _core.py with missing parameters #33596
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
Conversation
added missing parameters: - ax - subplots - sharex - sharey - secondary_y - sort_columns - stacked
Hello @loudlemon! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found: There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻 Comment last updated at 2020-05-03 03:42:43 UTC |
Not super well versed in this area so @datapythonista merge when happy |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice changes, just couple of minor things, but looks good.
pandas/plotting/_core.py
Outdated
an ax is passed in; Be aware, that passing in both an ax and | ||
sharex=True will alter all x axis labels for all axis in a figure. | ||
sharey : bool, default False | ||
In case aubplots=True, share y axis and set some y axis labels to invisible. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo, subplots.
Also, if you don't mind, can you quote in double backticks all these param=value
cases. For example :
In case ``subplot=True``, share...
pandas/plotting/_core.py
Outdated
sharex=True will alter all x axis labels for all axis in a figure. | ||
sharey : bool, default False | ||
In case aubplots=True, share y axis and set some y axis labels to invisible. | ||
layout : tuple (optional) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tuple, optional
pandas/plotting/_core.py
Outdated
stacked : bool, default False in line and bar plots, and True in area plot | ||
If True, create stacked plot. | ||
sort_columns : bool, default False | ||
Sort columns names to determine plot ordering. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure, but shouldn't be "column names"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that's right, column names, should have checked for all these inaccuracies
thanks for your time!
I'll make changes shortly
- quote 'param=value` cases - fix a few typos
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @loudlemon, nice PR.
Thanks @loudlemon |
added missing parameters:
ax
subplots
sharex
sharey
secondary_y
sort_columns
stacked
closes #xxxx
tests added / passed
passes
black pandas
passes
git diff upstream/master -u -- "*.py" | flake8 --diff
whatsnew entry