@@ -1057,6 +1057,7 @@ def axvspan(self, xmin, xmax, ymin=0, ymax=1, **kwargs):
1057
1057
self ._request_autoscale_view ("x" )
1058
1058
return p
1059
1059
1060
+ @_api .make_keyword_only ("3.9" , "label" )
1060
1061
@_preprocess_data (replace_names = ["y" , "xmin" , "xmax" , "colors" ],
1061
1062
label_namer = "y" )
1062
1063
def hlines (self , y , xmin , xmax , colors = None , linestyles = 'solid' ,
@@ -1148,6 +1149,7 @@ def hlines(self, y, xmin, xmax, colors=None, linestyles='solid',
1148
1149
self ._request_autoscale_view ()
1149
1150
return lines
1150
1151
1152
+ @_api .make_keyword_only ("3.9" , "label" )
1151
1153
@_preprocess_data (replace_names = ["x" , "ymin" , "ymax" , "colors" ],
1152
1154
label_namer = "x" )
1153
1155
def vlines (self , x , ymin , ymax , colors = None , linestyles = 'solid' ,
@@ -1239,6 +1241,7 @@ def vlines(self, x, ymin, ymax, colors=None, linestyles='solid',
1239
1241
self ._request_autoscale_view ()
1240
1242
return lines
1241
1243
1244
+ @_api .make_keyword_only ("3.9" , "orientation" )
1242
1245
@_preprocess_data (replace_names = ["positions" , "lineoffsets" ,
1243
1246
"linelengths" , "linewidths" ,
1244
1247
"colors" , "linestyles" ])
@@ -1742,6 +1745,7 @@ def plot(self, *args, scalex=True, scaley=True, data=None, **kwargs):
1742
1745
self ._request_autoscale_view ("y" )
1743
1746
return lines
1744
1747
1748
+ @_api .make_keyword_only ("3.9" , "tz" )
1745
1749
@_preprocess_data (replace_names = ["x" , "y" ], label_namer = "y" )
1746
1750
@_docstring .dedent_interpd
1747
1751
def plot_date (self , x , y , fmt = 'o' , tz = None , xdate = True , ydate = False ,
@@ -2045,6 +2049,7 @@ def acorr(self, x, **kwargs):
2045
2049
"""
2046
2050
return self .xcorr (x , x , ** kwargs )
2047
2051
2052
+ @_api .make_keyword_only ("3.9" , "normed" )
2048
2053
@_preprocess_data (replace_names = ["x" , "y" ], label_namer = "y" )
2049
2054
def xcorr (self , x , y , normed = True , detrend = mlab .detrend_none ,
2050
2055
usevlines = True , maxlags = 10 , ** kwargs ):
@@ -3112,6 +3117,7 @@ def stem(self, *args, linefmt=None, markerfmt=None, basefmt=None, bottom=0,
3112
3117
self .add_container (stem_container )
3113
3118
return stem_container
3114
3119
3120
+ @_api .make_keyword_only ("3.9" , "explode" )
3115
3121
@_preprocess_data (replace_names = ["x" , "explode" , "labels" , "colors" ])
3116
3122
def pie (self , x , explode = None , labels = None , colors = None ,
3117
3123
autopct = None , pctdistance = 0.6 , shadow = False , labeldistance = 1.1 ,
@@ -3388,6 +3394,7 @@ def _errorevery_to_mask(x, errorevery):
3388
3394
everymask [errorevery ] = True
3389
3395
return everymask
3390
3396
3397
+ @_api .make_keyword_only ("3.9" , "ecolor" )
3391
3398
@_preprocess_data (replace_names = ["x" , "y" , "xerr" , "yerr" ],
3392
3399
label_namer = "y" )
3393
3400
@_docstring .dedent_interpd
@@ -3764,6 +3771,7 @@ def apply_mask(arrays, mask):
3764
3771
3765
3772
return errorbar_container # (l0, caplines, barcols)
3766
3773
3774
+ @_api .make_keyword_only ("3.9" , "notch" )
3767
3775
@_preprocess_data ()
3768
3776
def boxplot (self , x , notch = None , sym = None , vert = None , whis = None ,
3769
3777
positions = None , widths = None , patch_artist = None ,
@@ -4078,6 +4086,7 @@ def boxplot(self, x, notch=None, sym=None, vert=None, whis=None,
4078
4086
capwidths = capwidths )
4079
4087
return artists
4080
4088
4089
+ @_api .make_keyword_only ("3.9" , "widths" )
4081
4090
def bxp (self , bxpstats , positions = None , widths = None , vert = True ,
4082
4091
patch_artist = False , shownotches = False , showmeans = False ,
4083
4092
showcaps = True , showbox = True , showfliers = True ,
@@ -4531,6 +4540,7 @@ def invalid_shape_exception(csize, xsize):
4531
4540
colors = None # use cmap, norm after collection is created
4532
4541
return c , colors , edgecolors
4533
4542
4543
+ @_api .make_keyword_only ("3.9" , "marker" )
4534
4544
@_preprocess_data (replace_names = ["x" , "y" , "s" , "linewidths" ,
4535
4545
"edgecolors" , "c" , "facecolor" ,
4536
4546
"facecolors" , "color" ],
@@ -4811,6 +4821,7 @@ def scatter(self, x, y, s=None, c=None, marker=None, cmap=None, norm=None,
4811
4821
4812
4822
return collection
4813
4823
4824
+ @_api .make_keyword_only ("3.9" , "gridsize" )
4814
4825
@_preprocess_data (replace_names = ["x" , "y" , "C" ], label_namer = "y" )
4815
4826
@_docstring .dedent_interpd
4816
4827
def hexbin (self , x , y , C = None , gridsize = 100 , bins = None ,
@@ -6590,6 +6601,7 @@ def clabel(self, CS, levels=None, **kwargs):
6590
6601
6591
6602
#### Data analysis
6592
6603
6604
+ @_api .make_keyword_only ("3.9" , "range" )
6593
6605
@_preprocess_data (replace_names = ["x" , 'weights' ], label_namer = "x" )
6594
6606
def hist (self , x , bins = None , range = None , density = False , weights = None ,
6595
6607
cumulative = False , bottom = None , histtype = 'bar' , align = 'mid' ,
@@ -7134,6 +7146,7 @@ def stairs(self, values, edges=None, *,
7134
7146
self ._request_autoscale_view ()
7135
7147
return patch
7136
7148
7149
+ @_api .make_keyword_only ("3.9" , "range" )
7137
7150
@_preprocess_data (replace_names = ["x" , "y" , "weights" ])
7138
7151
@_docstring .dedent_interpd
7139
7152
def hist2d (self , x , y , bins = 10 , range = None , density = False , weights = None ,
@@ -7343,6 +7356,7 @@ def ecdf(self, x, weights=None, *, complementary=False,
7343
7356
line .sticky_edges .x [:] = [0 , 1 ]
7344
7357
return line
7345
7358
7359
+ @_api .make_keyword_only ("3.9" , "NFFT" )
7346
7360
@_preprocess_data (replace_names = ["x" ])
7347
7361
@_docstring .dedent_interpd
7348
7362
def psd (self , x , NFFT = None , Fs = None , Fc = None , detrend = None ,
@@ -7454,6 +7468,7 @@ def psd(self, x, NFFT=None, Fs=None, Fc=None, detrend=None,
7454
7468
else :
7455
7469
return pxx , freqs , line
7456
7470
7471
+ @_api .make_keyword_only ("3.9" , "NFFT" )
7457
7472
@_preprocess_data (replace_names = ["x" , "y" ], label_namer = "y" )
7458
7473
@_docstring .dedent_interpd
7459
7474
def csd (self , x , y , NFFT = None , Fs = None , Fc = None , detrend = None ,
@@ -7556,6 +7571,7 @@ def csd(self, x, y, NFFT=None, Fs=None, Fc=None, detrend=None,
7556
7571
else :
7557
7572
return pxy , freqs , line
7558
7573
7574
+ @_api .make_keyword_only ("3.9" , "Fs" )
7559
7575
@_preprocess_data (replace_names = ["x" ])
7560
7576
@_docstring .dedent_interpd
7561
7577
def magnitude_spectrum (self , x , Fs = None , Fc = None , window = None ,
@@ -7642,6 +7658,7 @@ def magnitude_spectrum(self, x, Fs=None, Fc=None, window=None,
7642
7658
7643
7659
return spec , freqs , line
7644
7660
7661
+ @_api .make_keyword_only ("3.9" , "Fs" )
7645
7662
@_preprocess_data (replace_names = ["x" ])
7646
7663
@_docstring .dedent_interpd
7647
7664
def angle_spectrum (self , x , Fs = None , Fc = None , window = None ,
@@ -7711,6 +7728,7 @@ def angle_spectrum(self, x, Fs=None, Fc=None, window=None,
7711
7728
7712
7729
return spec , freqs , lines [0 ]
7713
7730
7731
+ @_api .make_keyword_only ("3.9" , "Fs" )
7714
7732
@_preprocess_data (replace_names = ["x" ])
7715
7733
@_docstring .dedent_interpd
7716
7734
def phase_spectrum (self , x , Fs = None , Fc = None , window = None ,
@@ -7780,6 +7798,7 @@ def phase_spectrum(self, x, Fs=None, Fc=None, window=None,
7780
7798
7781
7799
return spec , freqs , lines [0 ]
7782
7800
7801
+ @_api .make_keyword_only ("3.9" , "NFFT" )
7783
7802
@_preprocess_data (replace_names = ["x" , "y" ])
7784
7803
@_docstring .dedent_interpd
7785
7804
def cohere (self , x , y , NFFT = 256 , Fs = 2 , Fc = 0 , detrend = mlab .detrend_none ,
@@ -7844,6 +7863,7 @@ def cohere(self, x, y, NFFT=256, Fs=2, Fc=0, detrend=mlab.detrend_none,
7844
7863
7845
7864
return cxy , freqs
7846
7865
7866
+ @_api .make_keyword_only ("3.9" , "NFFT" )
7847
7867
@_preprocess_data (replace_names = ["x" ])
7848
7868
@_docstring .dedent_interpd
7849
7869
def specgram (self , x , NFFT = None , Fs = None , Fc = None , detrend = None ,
@@ -8000,6 +8020,7 @@ def specgram(self, x, NFFT=None, Fs=None, Fc=None, detrend=None,
8000
8020
8001
8021
return spec , freqs , t , im
8002
8022
8023
+ @_api .make_keyword_only ("3.9" , "precision" )
8003
8024
@_docstring .dedent_interpd
8004
8025
def spy (self , Z , precision = 0 , marker = None , markersize = None ,
8005
8026
aspect = 'equal' , origin = "upper" , ** kwargs ):
@@ -8190,6 +8211,7 @@ def matshow(self, Z, **kwargs):
8190
8211
mticker .MaxNLocator (nbins = 9 , steps = [1 , 2 , 5 , 10 ], integer = True ))
8191
8212
return im
8192
8213
8214
+ @_api .make_keyword_only ("3.9" , "vert" )
8193
8215
@_preprocess_data (replace_names = ["dataset" ])
8194
8216
def violinplot (self , dataset , positions = None , vert = True , widths = 0.5 ,
8195
8217
showmeans = False , showextrema = True , showmedians = False ,
@@ -8295,6 +8317,7 @@ def _kde_method(X, coords):
8295
8317
widths = widths , showmeans = showmeans ,
8296
8318
showextrema = showextrema , showmedians = showmedians )
8297
8319
8320
+ @_api .make_keyword_only ("3.9" , "vert" )
8298
8321
def violin (self , vpstats , positions = None , vert = True , widths = 0.5 ,
8299
8322
showmeans = False , showextrema = True , showmedians = False ):
8300
8323
"""
0 commit comments