10000 DOC: Improved the docstring of pandas.plotting._core.FramePlotMethods… by delkk0 · Pull Request #20157 · pandas-dev/pandas · GitHub
[go: up one dir, main page]

Skip to content

DOC: Improved the docstring of pandas.plotting._core.FramePlotMethods… #20157

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 5 commits into from
Mar 11, 2018
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
DOC: Improved the docstring of pandas.plotting._core.FramePlotMethods…
….barh()

- Adding defaults for variables.
  • Loading branch information
delkk0 committed Mar 10, 2018
commit 3c48ca07f1a2491991da8b1f34f2402c1ca1c773
4 changes: 2 additions & 2 deletions pandas/plotting/_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -2748,9 +2748,9 @@ def barh(self, x=None, y=None, **kwds):

Parameters
----------
x : label or position, optional
x : label or position, default DataFrame.index
Column to be used for categories.
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you describe the defaults. For x I think it's the DataFrame's index. For y I think it's all numeric columns.

y : label or position, optional
y : label or position, default All numeric columns in dataframe
Columns to be plotted from the DataFrame.
kwds
Keyword arguments to pass on to :py:meth:`pandas.DataFrame.plot`.
Expand Down
2956
0