@@ -4370,7 +4370,7 @@ def fill(self, *args, **kwargs):
4370
4370
4371
4371
@docstring .dedent_interpd
4372
4372
def fill_between (self , x , y1 , y2 = 0 , where = None , interpolate = False ,
4373
- step_where = None ,
4373
+ step = None ,
4374
4374
** kwargs ):
4375
4375
"""
4376
4376
Make filled polygons between two curves.
@@ -4402,7 +4402,7 @@ def fill_between(self, x, y1, y2=0, where=None, interpolate=False,
4402
4402
end points of the filled region will only occur on explicit
4403
4403
values in the *x* array.
4404
4404
4405
- step_where : {'pre', 'post', 'mid'}, optional
4405
+ step : {'pre', 'post', 'mid'}, optional
4406
4406
If not None, fill with step logic.
4407
4407
4408
4408
@@ -4459,8 +4459,8 @@ def fill_between(self, x, y1, y2=0, where=None, interpolate=False,
4459
4459
xslice = x [ind0 :ind1 ]
4460
4460
y1slice = y1 [ind0 :ind1 ]
4461
4461
y2slice = y2 [ind0 :ind1 ]
4462
- if step_where is not None :
4463
- step_func = STEP_LOOKUP_MAP [step_where ]
4462
+ if step is not None :
4463
+ step_func = STEP_LOOKUP_MAP [step ]
4464
4464
xslice , y1slice , y2slice = step_func (xslice , y1slice , y2slice )
4465
4465
4466
4466
if not len (xslice ):
@@ -4523,7 +4523,7 @@ def get_interp_point(ind):
4523
4523
4524
4524
@docstring .dedent_interpd
4525
4525
def fill_betweenx (self , y , x1 , x2 = 0 , where = None ,
4526
- step_where = None , ** kwargs ):
4526
+ step = None , ** kwargs ):
4527
4527
"""
4528
4528
Make filled polygons between two horizontal curves.
4529
4529
@@ -4551,7 +4551,7 @@ def fill_betweenx(self, y, x1, x2=0, where=None,
4551
4551
it is a N length numpy boolean array and the fill will
4552
4552
only happen over the regions where ``where==True``
4553
4553
4554
- step_where : {'pre', 'post', 'mid'}, optional
4554
+ step : {'pre', 'post', 'mid'}, optional
4555
4555
If not None, fill with step logic.
4556
4556
4557
4557
Notes
@@ -4607,8 +4607,8 @@ def fill_betweenx(self, y, x1, x2=0, where=None,
4607
4607
yslice = y [ind0 :ind1 ]
4608
4608
x1slice = x1 [ind0 :ind1 ]
4609
4609
x2slice = x2 [ind0 :ind1 ]
4610
- if step_where is not None :
4611
- step_func = STEP_LOOKUP_MAP [step_where ]
4610
+ if step is not None :
4611
+ step_func = STEP_LOOKUP_MAP [step ]
4612
4612
yslice , x1slice , x2slice = step_func (yslice , x1slice , x2slice )
4613
4613
4614
4614
if not len (yslice ):
0 commit comments