fill_between_steps¶
- grizli.utils.fill_between_steps(x, y0, y1, ax=None, *args, **kwargs)[source]¶
Make
fill_between
work like linestyle=’steps-mid’.- Parameters
- xarray_like
The x-coordinates of the points defining the curve.
- y0array_like
The y-coordinates of the lower curve.
- y1array_like
The y-coordinates of the upper curve.
- ax
matplotlib.axes.Axes
, optional The axes on which to plot the filled region. If not provided, the current axes will be used.
- *argspositional arguments
Additional positional arguments to be passed to
fill_between
.- **kwargskeyword arguments
Additional keyword arguments to be passed to
fill_between
.