Note
This is the documentation for the current state of the development branch of Qiskit Experiments. The documentation or APIs here can change prior to being released.
MplDrawer.filled_x_area¶
- MplDrawer.filled_x_area(x_ub, x_lb, y_data, name=None, label=None, legend=False, **options)[source]¶
Draw filled area as a function of y-values.
- Parameters:
x_ub (
Sequence[float]) – The upper boundary of X values.x_lb (
Sequence[float]) – The lower boundary of X values.y_data (
Sequence[float]) – Y values.name (
Union[str,int,float,None]) – Name of this series.label (
Optional[str]) – Optional legend label to overridenameandseries_params.legend (
bool) – Whether the drawn area must have a legend entry. Defaults to False. The series label in the legend will belabelif it is not None. If it is, thenseries_paramsis searched for a"label"entry for the series identified byname. If this is alsoNone, thennameis used as the fallback. If nonameis provided, then no legend entry is generated.options – Valid options for the drawer backend API.