fill_between_wrapper¶
-
fill_between_wrapper
(self, func, *args, **kwargs)[source]¶ Wraps
fill_between
, also accessible via thearea
alias.- Parameters
*args ((y1,), (x,y1), or (x,y1,y2)) – The x and y coordinates. If
x
is not provided, it will be inferred fromy1
. Ify1
andy2
are provided, their shapes must be identical, and we fill between respective columns of these arrays.stacked (bool, optional) – If
y2
isNone
, this indicates whether to “stack” successive columns of they1
array.negpos (bool, optional) – Whether to shade where
y2
is greater thany1
with the colorposcolor
, and wherey1
is greater thany2
with the colornegcolor
. For example, to shade positive values red and negtive blue, useax.fill_between(x, 0, y)
.negcolor, poscolor (color-spec, optional) – Colors to use for the negative and positive values. Ignored if
negpos
isFalse
.where (ndarray, optional) – Boolean ndarray mask for points you want to shade. See this example.
**kwargs – Passed to
fill_between
.