Skip to content

Commit 46ba26e

Browse files
tolaa001Josiah Baker
authored and
Josiah Baker
committed
DOC: update fixing unknown parameters errors (error code PR02) (pandas-dev#28567)
1 parent ae278dc commit 46ba26e

File tree

1 file changed

+25
-25
lines changed

1 file changed

+25
-25
lines changed

pandas/plotting/_core.py

+25-25
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def hist_series(
2828
yrot=None,
2929
figsize=None,
3030
bins=10,
31-
**kwds
31+
**kwargs
3232
):
3333
"""
3434
Draw histogram of the input series using matplotlib.
@@ -56,7 +56,7 @@ def hist_series(
5656
bin edges are calculated and returned. If bins is a sequence, gives
5757
bin edges, including left edge of first bin and right edge of last
5858
bin. In this case, bins is returned unmodified.
59-
`**kwds` : keywords
59+
**kwargs
6060
To be passed to the actual plotting function
6161
6262
Returns
@@ -80,7 +80,7 @@ def hist_series(
8080
yrot=yrot,
8181
figsize=figsize,
8282
bins=bins,
83-
**kwds
83+
**kwargs
8484
)
8585

8686

@@ -99,7 +99,7 @@ def hist_frame(
9999
figsize=None,
100100
layout=None,
101101
bins=10,
102-
**kwds
102+
**kwargs
103103
):
104104
"""
105105
Make a histogram of the DataFrame's.
@@ -151,7 +151,7 @@ def hist_frame(
151151
bin edges are calculated and returned. If bins is a sequence, gives
152152
bin edges, including left edge of first bin and right edge of last
153153
bin. In this case, bins is returned unmodified.
154-
**kwds
154+
**kwargs
155155
All other plotting keyword arguments to be passed to
156156
:meth:`matplotlib.pyplot.hist`.
157157
@@ -194,7 +194,7 @@ def hist_frame(
194194
figsize=figsize,
195195
layout=layout,
196196
bins=bins,
197-
**kwds
197+
**kwargs
198198
)
199199

200200

@@ -209,7 +209,7 @@ def boxplot(
209209
figsize=None,
210210
layout=None,
211211
return_type=None,
212-
**kwds
212+
**kwargs
213213
):
214214
"""
215215
Make a box plot from DataFrame columns.
@@ -260,7 +260,7 @@ def boxplot(
260260
261261
If ``return_type`` is `None`, a NumPy array
262262
of axes with the same shape as ``layout`` is returned.
263-
**kwds
263+
**kwargs
264264
All other plotting keyword arguments to be passed to
265265
:func:`matplotlib.pyplot.boxplot`.
266266
@@ -385,7 +385,7 @@ def boxplot(
385385
figsize=figsize,
386386
layout=layout,
387387
return_type=return_type,
388-
**kwds
388+
**kwargs
389389
)
390390

391391

@@ -401,7 +401,7 @@ def boxplot_frame(
401401
figsize=None,
402402
layout=None,
403403
return_type=None,
404-
**kwds
404+
**kwargs
405405
):
406406
plot_backend = _get_plot_backend()
407407
return plot_backend.boxplot_frame(
@@ -415,7 +415,7 @@ def boxplot_frame(
415415
figsize=figsize,
416416
layout=layout,
417417
return_type=return_type,
418-
**kwds
418+
**kwargs
419419
)
420420

421421

@@ -431,7 +431,7 @@ def boxplot_frame_groupby(
431431
layout=None,
432432
sharex=False,
433433
sharey=True,
434-
**kwds
434+
**kwargs
435435
):
436436
"""
437437
Make box plots from DataFrameGroupBy data.
@@ -459,7 +459,7 @@ def boxplot_frame_groupby(
459459
Whether y-axes will be shared among subplots
460460
461461
.. versionadded:: 0.23.1
462-
`**kwds` : Keyword Arguments
462+
**kwargs
463463
All other plotting keyword arguments to be passed to
464464
matplotlib's boxplot function
465465
@@ -495,7 +495,7 @@ def boxplot_frame_groupby(
495495
layout=layout,
496496
sharex=sharex,
497497
sharey=sharey,
498-
**kwds
498+
**kwargs
499499
)
500500

501501

@@ -586,7 +586,7 @@ class PlotAccessor(PandasObject):
586586
labels with "(right)" in the legend
587587
include_bool : bool, default is False
588588
If True, boolean values can be plotted.
589-
`**kwds` : keywords
589+
**kwargs
590590
Options to pass to matplotlib plotting method.
591591
592592
Returns
@@ -810,7 +810,7 @@ def line(self, x=None, y=None, **kwargs):
810810
The values to be plotted.
811811
Either the location or the label of the columns to be used.
812812
By default, it will use the remaining DataFrame numeric columns.
813-
**kwds
813+
**kwargs
814814
Keyword arguments to pass on to :meth:`DataFrame.plot`.
815815
816816
Returns
@@ -880,7 +880,7 @@ def bar(self, x=None, y=None, **kwargs):
880880
y : label or position, optional
881881
Allows plotting of one column versus another. If not specified,
882882
all numerical columns are used.
883-
**kwds
883+
**kwargs
884884
Additional keyword arguments are documented in
885885
:meth:`DataFrame.plot`.
886886
@@ -963,7 +963,7 @@ def barh(self, x=None, y=None, **kwargs):
963963
Column to be used for categories.
964964
y : label or position, default All numeric columns in dataframe
965965
Columns to be plotted from the DataFrame.
966-
**kwds
966+
**kwargs
967967
Keyword arguments to pass on to :meth:`DataFrame.plot`.
968968
969969
Returns
@@ -1049,7 +1049,7 @@ def box(self, by=None, **kwargs):
10491049
----------
10501050
by : str or sequence
10511051
Column in the DataFrame to group by.
1052-
**kwds : optional
1052+
**kwargs
10531053
Additional keywords are documented in
10541054
:meth:`DataFrame.plot`.
10551055
@@ -1092,7 +1092,7 @@ def hist(self, by=None, bins=10, **kwargs):
10921092
Column in the DataFrame to group by.
10931093
bins : int, default 10
10941094
Number of histogram bins to be used.
1095-
**kwds
1095+
**kwargs
10961096
Additional keyword arguments are documented in
10971097
:meth:`DataFrame.plot`.
10981098
@@ -1148,7 +1148,7 @@ def kde(self, bw_method=None, ind=None, **kwargs):
11481148
1000 equally spaced points are used. If `ind` is a NumPy array, the
11491149
KDE is evaluated at the points passed. If `ind` is an integer,
11501150
`ind` number of equally spaced points are used.
1151-
**kwds : optional
1151+
**kwargs
11521152
Additional keyword arguments are documented in
11531153
:meth:`pandas.%(this-datatype)s.plot`.
11541154
@@ -1250,7 +1250,7 @@ def area(self, x=None, y=None, **kwargs):
12501250
stacked : bool, default True
12511251
Area plots are stacked by default. Set to False to create a
12521252
unstacked plot.
1253-
**kwds : optional
1253+
**kwargs
12541254
Additional keyword arguments are documented in
12551255
:meth:`DataFrame.plot`.
12561256
@@ -1322,7 +1322,7 @@ def pie(self, **kwargs):
13221322
y : int or label, optional
13231323
Label or position of the column to plot.
13241324
If not provided, ``subplots=True`` argument must be passed.
1325-
**kwds
1325+
**kwargs
13261326
Keyword arguments to pass on to :meth:`DataFrame.plot`.
13271327
13281328
Returns
@@ -1404,7 +1404,7 @@ def scatter(self, x, y, s=None, c=None, **kwargs):
14041404
- A column name or position whose values will be used to color the
14051405
marker points according to a colormap.
14061406
1407-
**kwds
1407+
**kwargs
14081408
Keyword arguments to pass on to :meth:`DataFrame.plot`.
14091409
14101410
Returns
@@ -1476,7 +1476,7 @@ def hexbin(self, x, y, C=None, reduce_C_function=None, gridsize=None, **kwargs):
14761476
Alternatively, gridsize can be a tuple with two elements
14771477
specifying the number of hexagons in the x-direction and the
14781478
y-direction.
1479-
**kwds
1479+
**kwargs
14801480
Additional keyword arguments are documented in
14811481
:meth:`DataFrame.plot`.
14821482

0 commit comments

Comments
 (0)