fill_between_wrapper¶
-
fill_between_wrapper(self, func, *args, **kwargs)[source]¶ Wraps
fill_between, also accessible via theareaalias.- Parameters
*args ((y1,), (x,y1), or (x,y1,y2)) – The x and y coordinates. If
xis not provided, it will be inferred fromy1. Ify1andy2are provided, their shapes must be identical, and we fill between respective columns of these arrays.stacked (bool, optional) – If
y2isNone, this indicates whether to “stack” successive columns of they1array.negpos (bool, optional) – Whether to shade where
y2is greater thany1with the colorposcolor, and wherey1is greater thany2with 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
negposisFalse.where (ndarray, optional) – Boolean ndarray mask for points you want to shade. See this example.
**kwargs – Passed to
fill_between.