@@ -1059,6 +1059,7 @@ def axvspan(self, xmin, xmax, ymin=0, ymax=1, **kwargs):
1059
1059
1060
1060
@_preprocess_data (replace_names = ["y" , "xmin" , "xmax" , "colors" ],
1061
1061
label_namer = "y" )
1062
+ @_api .make_keyword_only ("3.9" , "label" )
1062
1063
def hlines (self , y , xmin , xmax , colors = None , linestyles = 'solid' ,
1063
1064
label = '' , ** kwargs ):
1064
1065
"""
@@ -1150,6 +1151,7 @@ def hlines(self, y, xmin, xmax, colors=None, linestyles='solid',
1150
1151
1151
1152
@_preprocess_data (replace_names = ["x" , "ymin" , "ymax" , "colors" ],
1152
1153
label_namer = "x" )
1154
+ @_api .make_keyword_only ("3.9" , "label" )
1153
1155
def vlines (self , x , ymin , ymax , colors = None , linestyles = 'solid' ,
1154
1156
label = '' , ** kwargs ):
1155
1157
"""
@@ -1243,6 +1245,7 @@ def vlines(self, x, ymin, ymax, colors=None, linestyles='solid',
1243
1245
"linelengths" , "linewidths" ,
1244
1246
"colors" , "linestyles" ])
1245
1247
@_docstring .dedent_interpd
1248
+ @_api .make_keyword_only ("3.9" , "orientation" )
1246
1249
def eventplot (self , positions , orientation = 'horizontal' , lineoffsets = 1 ,
1247
1250
linelengths = 1 , linewidths = None , colors = None , alpha = None ,
1248
1251
linestyles = 'solid' , ** kwargs ):
@@ -1744,6 +1747,7 @@ def plot(self, *args, scalex=True, scaley=True, data=None, **kwargs):
1744
1747
1745
1748
@_preprocess_data (replace_names = ["x" , "y" ], label_namer = "y" )
1746
1749
@_docstring .dedent_interpd
1750
+ @_api .make_keyword_only ("3.9" , "tz" )
1747
1751
def plot_date (self , x , y , fmt = 'o' , tz = None , xdate = True , ydate = False ,
1748
1752
** kwargs ):
1749
1753
"""
@@ -2046,6 +2050,7 @@ def acorr(self, x, **kwargs):
2046
2050
return self .xcorr (x , x , ** kwargs )
2047
2051
2048
2052
@_preprocess_data (replace_names = ["x" , "y" ], label_namer = "y" )
2053
+ @_api .make_keyword_only ("3.9" , "normed" )
2049
2054
def xcorr (self , x , y , normed = True , detrend = mlab .detrend_none ,
2050
2055
usevlines = True , maxlags = 10 , ** kwargs ):
2051
2056
r"""
@@ -3113,6 +3118,7 @@ def stem(self, *args, linefmt=None, markerfmt=None, basefmt=None, bottom=0,
3113
3118
return stem_container
3114
3119
3115
3120
@_preprocess_data (replace_names = ["x" , "explode" , "labels" , "colors" ])
3121
+ @_api .make_keyword_only ("3.9" , "explode" )
3116
3122
def pie (self , x , explode = None , labels = None , colors = None ,
3117
3123
autopct = None , pctdistance = 0.6 , shadow = False , labeldistance = 1.1 ,
3118
3124
startangle = 0 , radius = 1 , counterclock = True ,
@@ -3391,6 +3397,7 @@ def _errorevery_to_mask(x, errorevery):
3391
3397
@_preprocess_data (replace_names = ["x" , "y" , "xerr" , "yerr" ],
3392
3398
label_namer = "y" )
3393
3399
@_docstring .dedent_interpd
3400
+ @_api .make_keyword_only ("3.9" , "ecolor" )
3394
3401
def errorbar (self , x , y , yerr = None , xerr = None ,
3395
3402
fmt = '' , ecolor = None , elinewidth = None , capsize = None ,
3396
3403
barsabove = False , lolims = False , uplims = False ,
@@ -3765,6 +3772,7 @@ def apply_mask(arrays, mask):
3765
3772
return errorbar_container # (l0, caplines, barcols)
3766
3773
3767
3774
@_preprocess_data ()
3775
+ @_api .make_keyword_only ("3.9" , "notch" )
3768
3776
def boxplot (self , x , notch = None , sym = None , vert = None , whis = None ,
3769
3777
positions = None , widths = None , patch_artist = None ,
3770
3778
bootstrap = None , usermedians = None , conf_intervals = 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 ,
@@ -4535,6 +4544,7 @@ def invalid_shape_exception(csize, xsize):
4535
4544
"edgecolors" , "c" , "facecolor" ,
4536
4545
"facecolors" , "color" ],
4537
4546
label_namer = "y" )
4547
+ @_api .make_keyword_only ("3.9" , "marker" )
4538
4548
@_docstring .interpd
4539
4549
def scatter (self , x , y , s = None , c = None , marker = None , cmap = None , norm = None ,
4540
4550
vmin = None , vmax = None , alpha = None , linewidths = None , * ,
@@ -4813,6 +4823,7 @@ def scatter(self, x, y, s=None, c=None, marker=None, cmap=None, norm=None,
4813
4823
4814
4824
@_preprocess_data (replace_names = ["x" , "y" , "C" ], label_namer = "y" )
4815
4825
@_docstring .dedent_interpd
4826
+ @_api .make_keyword_only ("3.9" , "gridsize" )
4816
4827
def hexbin (self , x , y , C = None , gridsize = 100 , bins = None ,
4817
4828
xscale = 'linear' , yscale = 'linear' , extent = None ,
4818
4829
cmap = None , norm = None , vmin = None , vmax = None ,
@@ -6591,6 +6602,7 @@ def clabel(self, CS, levels=None, **kwargs):
6591
6602
#### Data analysis
6592
6603
6593
6604
@_preprocess_data (replace_names = ["x" , 'weights' ], label_namer = "x" )
6605
+ @_api .make_keyword_only ("3.9" , "range" )
6594
6606
def hist (self , x , bins = None , range = None , density = False , weights = None ,
6595
6607
cumulative = False , bottom = None , histtype = 'bar' , align = 'mid' ,
6596
6608
orientation = 'vertical' , rwidth = None , log = False ,
@@ -7136,6 +7148,7 @@ def stairs(self, values, edges=None, *,
7136
7148
7137
7149
@_preprocess_data (replace_names = ["x" , "y" , "weights" ])
7138
7150
@_docstring .dedent_interpd
7151
+ @_api .make_keyword_only ("3.9" , "range" )
7139
7152
def hist2d (self , x , y , bins = 10 , range = None , density = False , weights = None ,
7140
7153
cmin = None , cmax = None , ** kwargs ):
7141
7154
"""
@@ -7345,6 +7358,7 @@ def ecdf(self, x, weights=None, *, complementary=False,
7345
7358
7346
7359
@_preprocess_data (replace_names = ["x" ])
7347
7360
@_docstring .dedent_interpd
7361
+ @_api .make_keyword_only ("3.9" , "NFFT" )
7348
7362
def psd (self , x , NFFT = None , Fs = None , Fc = None , detrend = None ,
7349
7363
window = None , noverlap = None , pad_to = None ,
7350
7364
sides = None , scale_by_freq = None , return_line = None , ** kwargs ):
@@ -7456,6 +7470,7 @@ def psd(self, x, NFFT=None, Fs=None, Fc=None, detrend=None,
7456
7470
7457
7471
@_preprocess_data (replace_names = ["x" , "y" ], label_namer = "y" )
7458
7472
@_docstring .dedent_interpd
7473
+ @_api .make_keyword_only ("3.9" , "NFFT" )
7459
7474
def csd (self , x , y , NFFT = None , Fs = None , Fc = None , detrend = None ,
7460
7475
window = None , noverlap = None , pad_to = None ,
7461
7476
sides = None , scale_by_freq = None , return_line = None , ** kwargs ):
@@ -7558,6 +7573,7 @@ def csd(self, x, y, NFFT=None, Fs=None, Fc=None, detrend=None,
7558
7573
7559
7574
@_preprocess_data (replace_names = ["x" ])
7560
7575
@_docstring .dedent_interpd
7576
+ @_api .make_keyword_only ("3.9" , "Fs" )
7561
7577
def magnitude_spectrum (self , x , Fs = None , Fc = None , window = None ,
7562
7578
pad_to = None , sides = None , scale = None ,
7563
7579
** kwargs ):
@@ -7644,6 +7660,7 @@ def magnitude_spectrum(self, x, Fs=None, Fc=None, window=None,
7644
7660
7645
7661
@_preprocess_data (replace_names = ["x" ])
7646
7662
@_docstring .dedent_interpd
7663
+ @_api .make_keyword_only ("3.9" , "Fs" )
7647
7664
def angle_spectrum (self , x , Fs = None , Fc = None , window = None ,
7648
7665
pad_to = None , sides = None , ** kwargs ):
7649
7666
"""
@@ -7713,6 +7730,7 @@ def angle_spectrum(self, x, Fs=None, Fc=None, window=None,
7713
7730
7714
7731
@_preprocess_data (replace_names = ["x" ])
7715
7732
@_docstring .dedent_interpd
7733
+ @_api .make_keyword_only ("3.9" , "Fs" )
7716
7734
def phase_spectrum (self , x , Fs = None , Fc = None , window = None ,
7717
7735
pad_to = None , sides = None , ** kwargs ):
7718
7736
"""
@@ -7782,6 +7800,7 @@ def phase_spectrum(self, x, Fs=None, Fc=None, window=None,
7782
7800
7783
7801
@_preprocess_data (replace_names = ["x" , "y" ])
7784
7802
@_docstring .dedent_interpd
7803
+ @_api .make_keyword_only ("3.9" , "NFFT" )
7785
7804
def cohere (self , x , y , NFFT = 256 , Fs = 2 , Fc = 0 , detrend = mlab .detrend_none ,
7786
7805
window = mlab .window_hanning , noverlap = 0 , pad_to = None ,
7787
7806
sides = 'default' , scale_by_freq = None , ** kwargs ):
@@ -7846,6 +7865,7 @@ def cohere(self, x, y, NFFT=256, Fs=2, Fc=0, detrend=mlab.detrend_none,
7846
7865
7847
7866
@_preprocess_data (replace_names = ["x" ])
7848
7867
@_docstring .dedent_interpd
7868
+ @_api .make_keyword_only ("3.9" , "NFFT" )
7849
7869
def specgram (self , x , NFFT = None , Fs = None , Fc = None , detrend = None ,
7850
7870
window = None , noverlap = None ,
7851
7871
cmap = None , xextent = None , pad_to = None , sides = None ,
@@ -8001,6 +8021,7 @@ def specgram(self, x, NFFT=None, Fs=None, Fc=None, detrend=None,
8001
8021
return spec , freqs , t , im
8002
8022
8003
8023
@_docstring .dedent_interpd
8024
+ @_api .make_keyword_only ("3.9" , "precision" )
8004
8025
def spy (self , Z , precision = 0 , marker = None , markersize = None ,
8005
8026
aspect = 'equal' , origin = "upper" , ** kwargs ):
8006
8027
"""
@@ -8191,6 +8212,7 @@ def matshow(self, Z, **kwargs):
8191
8212
return im
8192
8213
8193
8214
@_preprocess_data (replace_names = ["dataset" ])
8215
+ @_api .make_keyword_only ("3.9" , "vert" )
8194
8216
def violinplot (self , dataset , positions = None , vert = True , widths = 0.5 ,
8195
8217
showmeans = False , showextrema = True , showmedians = False ,
8196
8218
quantiles = None , points = 100 , bw_method = None ):
@@ -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