Skip to content

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

Merged
merged 3 commits into from
May 6, 2020

Conversation

loudlemon
Copy link
Contributor

@loudlemon loudlemon commented Apr 16, 2020

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

added missing parameters:
 - ax
 - subplots
 - sharex
 - sharey
 - secondary_y
 - sort_columns
 - stacked
@pep8speaks
Copy link

pep8speaks commented Apr 16, 2020

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

@WillAyd
Copy link
Member

WillAyd commented Apr 19, 2020

Not super well versed in this area so @datapythonista merge when happy

Copy link
Member

@datapythonista datapythonista left a 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.

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.
Copy link
Member

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... 

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)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tuple, optional

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.
Copy link
Member

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"?

Copy link
Contributor Author

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
@loudlemon loudlemon requested a review from datapythonista May 3, 2020 04:42
Copy link
Member

@datapythonista datapythonista left a 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.

@WillAyd WillAyd added this to the 1.1 milestone May 6, 2020
@WillAyd WillAyd merged commit 8872766 into pandas-dev:master May 6, 2020
@WillAyd
Copy link
Member

WillAyd commented May 6, 2020

Thanks @loudlemon

@loudlemon loudlemon deleted the missed_params branch May 7, 2020 11:19
rhshadrach pushed a commit to rhshadrach/pandas that referenced this pull request May 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants