@@ -4428,7 +4428,7 @@ def fill(self, *args, **kwargs):
4428
4428
4429
4429
@docstring .dedent_interpd
4430
4430
def fill_between (self , x , y1 , y2 = 0 , where = None , interpolate = False ,
4431
- step_where = None ,
4431
+ step = None ,
4432
4432
** kwargs ):
4433
4433
"""
4434
4434
Make filled polygons between two curves.
@@ -4460,7 +4460,7 @@ def fill_between(self, x, y1, y2=0, where=None, interpolate=False,
4460
4460
end points of the filled region will only occur on explicit
4461
4461
values in the *x* array.
4462
4462
4463
- step_where : {'pre', 'post', 'mid'}, optional
4463
+ step : {'pre', 'post', 'mid'}, optional
4464
4464
If not None, fill with step logic.
4465
4465
4466
4466
@@ -4517,8 +4517,8 @@ def fill_between(self, x, y1, y2=0, where=None, interpolate=False,
4517
4517
xslice = x [ind0 :ind1 ]
4518
4518
y1slice = y1 [ind0 :ind1 ]
4519
4519
y2slice = y2 [ind0 :ind1 ]
4520
- if step_where is not None :
4521
- step_func = STEP_LOOKUP_MAP [step_where ]
4520
+ if step is not None :
4521
+ step_func = STEP_LOOKUP_MAP [step ]
4522
4522
xslice , y1slice , y2slice = step_func (xslice , y1slice , y2slice )
4523
4523
4524
4524
if not len (xslice ):
@@ -4581,7 +4581,7 @@ def get_interp_point(ind):
4581
4581
4582
4582
@docstring .dedent_interpd
4583
4583
def fill_betweenx (self , y , x1 , x2 = 0 , where = None ,
4584
- step_where = None , ** kwargs ):
4584
+ step = None , ** kwargs ):
4585
4585
"""
4586
4586
Make filled polygons between two horizontal curves.
4587
4587
@@ -4609,7 +4609,7 @@ def fill_betweenx(self, y, x1, x2=0, where=None,
4609
4609
it is a N length numpy boolean array and the fill will
4610
4610
only happen over the regions where ``where==True``
4611
4611
4612
- step_where : {'pre', 'post', 'mid'}, optional
4612
+ step : {'pre', 'post', 'mid'}, optional
4613
4613
If not None, fill with step logic.
4614
4614
4615
4615
Notes
@@ -4665,8 +4665,8 @@ def fill_betweenx(self, y, x1, x2=0, where=None,
4665
4665
yslice = y [ind0 :ind1 ]
4666
4666
x1slice = x1 [ind0 :ind1 ]
4667
4667
x2slice = x2 [ind0 :ind1 ]
4668
- if step_where is not None :
4669
- step_func = STEP_LOOKUP_MAP [step_where ]
4668
+ if step is not None :
4669
+ step_func = STEP_LOOKUP_MAP [step ]
4670
4670
yslice , x1slice , x2slice = step_func (yslice , x1slice , x2slice )
4671
4671
4672
4672
if not len (yslice ):
0 commit comments