@@ -939,7 +939,7 @@ def __call__(self, *args, **kwargs):
939
939
"""
940
940
941
941
@Appender (_line_docs % _shared_docs )
942
- def line (self , x = None , y = None , figsize = None , subplots = False , sharex = None ,
942
+ def line (self , x = None , y = None , * , figsize = None , subplots = False , sharex = None ,
943
943
sharey = False , layout = None , title = None , ** kwargs ):
944
944
return self (kind = "line" , x = x , y = y , figsize = figsize , subplots = subplots ,
945
945
sharex = sharex , sharey = sharey , layout = layout , title = title , ** kwargs )
@@ -1029,7 +1029,7 @@ def line(self, x=None, y=None, figsize=None, subplots=False, sharex=None,
1029
1029
"""
1030
1030
1031
1031
@Appender (_bar_docs % _shared_docs )
1032
- def bar (self , x = None , y = None , figsize = None , subplots = False , sharex = None ,
1032
+ def bar (self , x = None , y = None , * , figsize = None , subplots = False , sharex = None ,
1033
1033
sharey = False , layout = None , title = None , ** kwargs ):
1034
1034
return self (kind = "bar" , x = x , y = y , figsize = figsize , subplots = subplots ,
1035
1035
sharex = sharex , sharey = sharey , layout = layout , title = title , ** kwargs )
@@ -1114,7 +1114,7 @@ def bar(self, x=None, y=None, figsize=None, subplots=False, sharex=None,
1114
1114
"""
1115
1115
1116
1116
@Appender (_barh_docs % _shared_docs )
1117
- def barh (self , x = None , y = None , figsize = None , subplots = False , sharex = None ,
1117
+ def barh (self , x = None , y = None , * , figsize = None , subplots = False , sharex = None ,
1118
1118
sharey = False , layout = None , title = None , ** kwargs ):
1119
1119
return self (kind = "barh" , x = x , y = y , figsize = figsize , subplots = subplots ,
1120
1120
sharex = sharex , sharey = sharey , layout = layout , title = title , ** kwargs )
@@ -1141,7 +1141,7 @@ def barh(self, x=None, y=None, figsize=None, subplots=False, sharex=None,
1141
1141
by : str or sequence
1142
1142
Column in the DataFrame to group by.
1143
1143
%s
1144
- **kwargs : optional
1144
+ **kwargs
1145
1145
Additional keywords are documented in
1146
1146
:meth:`DataFrame.plot`.
1147
1147
@@ -1169,7 +1169,7 @@ def barh(self, x=None, y=None, figsize=None, subplots=False, sharex=None,
1169
1169
"""
1170
1170
1171
1171
@Appender (_box_docs % _shared_docs )
1172
- def box (self , by = None , figsize = None , subplots = False , sharex = None , sharey = False ,
1172
+ def box (self , by = None , * , figsize = None , subplots = False , sharex = None , sharey = False ,
1173
1173
layout = None , title = None , ** kwargs ):
1174
1174
return self (kind = "box" , by = by , figsize = figsize , subplots = subplots ,
1175
1175
sharex = sharex , sharey = sharey , layout = layout , title = title , ** kwargs )
@@ -1221,7 +1221,7 @@ def box(self, by=None, figsize=None, subplots=False, sharex=None, sharey=False,
1221
1221
"""
1222
1222
1223
1223
@Appender (_hist_docs % _shared_docs )
1224
- def hist (self , by = None , bins = 10 , figsize = None , subplots = False , sharex = None ,
1224
+ def hist (self , by = None , bins = 10 , * , figsize = None , subplots = False , sharex = None ,
1225
1225
sharey = False , layout = None , title = None , ** kwargs ):
1226
1226
return self (kind = "hist" , by = by , bins = bins , figsize = figsize , subplots = subplots ,
1227
1227
sharex = sharex , sharey = sharey , layout = layout , title = title , ** kwargs )
@@ -1249,7 +1249,7 @@ def hist(self, by=None, bins=10, figsize=None, subplots=False, sharex=None,
1249
1249
KDE is evaluated at the points passed. If `ind` is an integer,
1250
1250
`ind` number of equally spaced points are used.
1251
1251
%s
1252
- **kwargs : optional
1252
+ **kwargs
1253
1253
Additional keyword arguments are documented in
1254
1254
:meth:`pandas.%%(this-datatype)s.plot`.
1255
1255
@@ -1333,7 +1333,7 @@ def hist(self, by=None, bins=10, figsize=None, subplots=False, sharex=None,
1333
1333
"""
1334
1334
1335
1335
@Appender (_kde_docs % _shared_docs )
1336
- def kde (self , bw_method = None , ind = None , figsize = None , subplots = False , sharex = None ,
1336
+ def kde (self , bw_method = None , ind = None , * , figsize = None , subplots = False , sharex = None ,
1337
1337
sharey = False , layout = None , title = None , ** kwargs ):
1338
1338
return self (kind = "kde" , bw_method = bw_method , ind = ind , figsize = figsize ,
1339
1339
subplots = subplots , sharex = sharex , sharey = sharey , layout = layout ,
@@ -1357,7 +1357,7 @@ def kde(self, bw_method=None, ind=None, figsize=None, subplots=False, sharex=Non
1357
1357
Area plots are stacked by default. Set to False to create a
1358
1358
unstacked plot.
1359
1359
%s
1360
- **kwargs : optional
1360
+ **kwargs
1361
1361
Additional keyword arguments are documented in
1362
1362
:meth:`DataFrame.plot`.
1363
1363
@@ -1414,7 +1414,7 @@ def kde(self, bw_method=None, ind=None, figsize=None, subplots=False, sharex=Non
1414
1414
"""
1415
1415
1416
1416
@Appender (_area_docs % _shared_docs )
1417
- def area (self , x = None , y = None , figsize = None , subplots = False , sharex = None ,
1417
+ def area (self , x = None , y = None , * , figsize = None , subplots = False , sharex = None ,
1418
1418
sharey = False , layout = None , title = None , ** kwargs ):
1419
1419
return self (kind = "area" , x = x , y = y , figsize = figsize , subplots = subplots ,
1420
1420
sharex = sharex , sharey = sharey , layout = layout , title = title , ** kwargs )
@@ -1468,7 +1468,7 @@ def area(self, x=None, y=None, figsize=None, subplots=False, sharex=None,
1468
1468
"""
1469
1469
1470
1470
@Appender (_pie_docs % _shared_docs )
1471
- def pie (self , y = None , figsize = None , subplots = False , sharex = None ,
1471
+ def pie (self , y = None , * , figsize = None , subplots = False , sharex = None ,
1472
1472
sharey = False , layout = None , title = None , ** kwargs ):
1473
1473
if isinstance (self ._parent , ABCDataFrame ) and y is None and not subplots :
1474
1474
raise ValueError ("pie requires either y column or 'subplots=True'" )
@@ -1555,7 +1555,7 @@ def pie(self, y=None, figsize=None, subplots=False, sharex=None,
1555
1555
"""
1556
1556
1557
1557
@Appender (_scatter_docs % _shared_docs )
1558
- def scatter (self , x , y , s = None , c = None , figsize = None , subplots = False , sharex = None ,
1558
+ def scatter (self , x , y , s = None , c = None , * , figsize = None , subplots = False , sharex = None ,
1559
1559
sharey = False , layout = None , title = None , ** kwargs ):
1560
1560
return self (kind = "scatter" , x = x , y = y , s = s , c = c , figsize = figsize ,
1561
1561
subplots = subplots , sharex = sharex , sharey = sharey , layout = layout ,
@@ -1645,7 +1645,7 @@ def scatter(self, x, y, s=None, c=None, figsize=None, subplots=False, sharex=Non
1645
1645
"""
1646
1646
1647
1647
@Appender (_hexbin_docs % _shared_docs )
1648
- def hexbin (self , x , y , C = None , reduce_C_function = np .mean , gridsize = 100 ,
1648
+ def hexbin (self , x , y , C = None , reduce_C_function = np .mean , gridsize = 100 , * ,
1649
1649
figsize = None , subplots = False , sharex = None , sharey = False , layout = None ,
1650
1650
title = None , ** kwargs ):
1651
1651
return self (kind = "hexbin" , x = x , y = y , C = C , reduce_C_function = reduce_C_function ,
0 commit comments