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
50 changes: 25 additions & 25 deletions pandas/plotting/_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def hist_series(
yrot=None,
figsize=None,
bins=10,
**kwds
**kwargs
):
"""
Draw histogram of the input series using matplotlib.
Expand Down Expand Up @@ -56,7 +56,7 @@ def hist_series(
bin edges are calculated and returned. If bins is a sequence, gives
bin edges, including left edge of first bin and right edge of last
bin. In this case, bins is returned unmodified.
`**kwds` : keywords
**kwargs
To be passed to the actual plotting function

Returns
Expand All @@ -80,7 +80,7 @@ def hist_series(
yrot=yrot,
figsize=figsize,
bins=bins,
**kwds
**kwargs
)


Expand All @@ -99,7 +99,7 @@ def hist_frame(
figsize=None,
layout=None,
bins=10,
**kwds
**kwargs
):
"""
Make a histogram of the DataFrame's.
Expand Down Expand Up @@ -151,7 +151,7 @@ def hist_frame(
bin edges are calculated and returned. If bins is a sequence, gives
bin edges, including left edge of first bin and right edge of last
bin. In this case, bins is returned unmodified.
**kwds
**kwargs
All other plotting keyword arguments to be passed to
:meth:`matplotlib.pyplot.hist`.

Expand Down Expand Up @@ -194,7 +194,7 @@ def hist_frame(
figsize=figsize,
layout=layout,
bins=bins,
**kwds
**kwargs
)


Expand All @@ -209,7 +209,7 @@ def boxplot(
figsize=None,
layout=None,
return_type=None,
**kwds
**kwargs
):
"""
Make a box plot from DataFrame columns.
Expand Down Expand Up @@ -260,7 +260,7 @@ def boxplot(

If ``return_type`` is `None`, a NumPy array
of axes with the same shape as ``layout`` is returned.
**kwds
**kwargs
All other plotting keyword arguments to be passed to
:func:`matplotlib.pyplot.boxplot`.

Expand Down Expand Up @@ -385,7 +385,7 @@ def boxplot(
figsize=figsize,
layout=layout,
return_type=return_type,
**kwds
**kwargs
)


Expand All @@ -401,7 +401,7 @@ def boxplot_frame(
figsize=None,
layout=None,
return_type=None,
**kwds
**kwargs
):
plot_backend = _get_plot_backend()
return plot_backend.boxplot_frame(
Expand All @@ -415,7 +415,7 @@ def boxplot_frame(
figsize=figsize,
layout=layout,
return_type=return_type,
**kwds
**kwargs
)


Expand All @@ -431,7 +431,7 @@ def boxplot_frame_groupby(
layout=None,
sharex=False,
sharey=True,
**kwds
**kwargs
):
"""
Make box plots from DataFrameGroupBy data.
Expand Down Expand Up @@ -459,7 +459,7 @@ def boxplot_frame_groupby(
Whether y-axes will be shared among subplots

.. versionadded:: 0.23.1
`**kwds` : Keyword Arguments
**kwargs
All other plotting keyword arguments to be passed to
matplotlib's boxplot function

Expand Down Expand Up @@ -495,7 +495,7 @@ def boxplot_frame_groupby(
layout=layout,
sharex=sharex,
sharey=sharey,
**kwds
**kwargs
)


Expand Down Expand Up @@ -586,7 +586,7 @@ class PlotAccessor(PandasObject):
labels with "(right)" in the legend
include_bool : bool, default is False
If True, boolean values can be plotted.
`**kwds` : keywords
**kwargs
Options to pass to matplotlib plotting method.

Returns
Expand Down 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
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
Additional keyword arguments are documented in
:meth:`pandas.%(this-datatype)s.plot`.

Expand Down Expand Up @@ -1250,7 +1250,7 @@ def area(self, x=None, y=None, **kwargs):
stacked : bool, default True
Area plots are stacked by default. Set to False to create a
unstacked plot.
**kwds : optional
**kwargs
Additional keyword arguments are documented in
:meth:`DataFrame.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