Skip to content

DOC: update fixing unknown parameters errors (error code PR02) #28567

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 7 commits into from
Sep 27, 2019
18 changes: 9 additions & 9 deletions pandas/plotting/_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -810,7 +810,7 @@ def line(self, x=None, y=None, **kwargs):
The values to be plotted.
Either the location or the label of the columns to be used.
By default, it will use the remaining DataFrame numeric columns.
**kwds
**kwargs
Keyword arguments to pass on to :meth:`DataFrame.plot`.

Returns
Expand Down Expand Up @@ -880,7 +880,7 @@ def bar(self, x=None, y=None, **kwargs):
y : label or position, optional
Allows plotting of one column versus another. If not specified,
all numerical columns are used.
**kwds
**kwargs
Additional keyword arguments are documented in
:meth:`DataFrame.plot`.

Expand Down Expand Up @@ -963,7 +963,7 @@ def barh(self, x=None, y=None, **kwargs):
Column to be used for categories.
y : label or position, default All numeric columns in dataframe
Columns to be plotted from the DataFrame.
**kwds
**kwargs
Keyword arguments to pass on to :meth:`DataFrame.plot`.

Returns
Expand Down Expand Up @@ -1049,7 +1049,7 @@ def box(self, by=None, **kwargs):
----------
by : str or sequence
Column in the DataFrame to group by.
**kwds : optional
**kwargs : optional
Additional keywords are documented in
:meth:`DataFrame.plot`.

Expand Down Expand Up @@ -1092,7 +1092,7 @@ def hist(self, by=None, bins=10, **kwargs):
Column in the DataFrame to group by.
bins : int, default 10
Number of histogram bins to be used.
**kwds
**kwargs
Additional keyword arguments are documented in
:meth:`DataFrame.plot`.

Expand Down Expand Up @@ -1148,7 +1148,7 @@ def kde(self, bw_method=None, ind=None, **kwargs):
1000 equally spaced points are used. If `ind` is a NumPy array, the
KDE is evaluated at the points passed. If `ind` is an integer,
`ind` number of equally spaced points are used.
**kwds : optional
**kwargs : optional
Copy link
Member

Choose a reason for hiding this comment

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

should the "optional" part be consistent across all of these?

Additional keyword arguments are documented in
:meth:`pandas.%(this-datatype)s.plot`.

Expand Down Expand Up @@ -1322,7 +1322,7 @@ def pie(self, **kwargs):
y : int or label, optional
Label or position of the column to plot.
If not provided, ``subplots=True`` argument must be passed.
**kwds
**kwargs
Keyword arguments to pass on to :meth:`DataFrame.plot`.

Returns
Expand Down Expand Up @@ -1404,7 +1404,7 @@ def scatter(self, x, y, s=None, c=None, **kwargs):
- A column name or position whose values will be used to color the
marker points according to a colormap.

**kwds
**kwargs
Keyword arguments to pass on to :meth:`DataFrame.plot`.

Returns
Expand Down Expand Up @@ -1476,7 +1476,7 @@ def hexbin(self, x, y, C=None, reduce_C_function=None, gridsize=None, **kwargs):
Alternatively, gridsize can be a tuple with two elements
specifying the number of hexagons in the x-direction and the
y-direction.
**kwds
**kwargs
Additional keyword arguments are documented in
:meth:`DataFrame.plot`.

Expand Down