qiskit_ibm_runtime.visualization.draw_execution_spans
draw_execution_spans(*spans, names=None, common_start=False, normalize_y=False, line_width=4, show_legend=None)
Draw one or more ExecutionSpans
on a bar plot.
Parameters
- spans (ExecutionSpans) – One or more
ExecutionSpans
. - names (str | Iterable[str] | None) – Name or names to assign to respective
spans
. - common_start (bool) – Whether to shift all collections of spans so that their first span’s start is at .
- normalize_y (bool) – Whether to display the y-axis units as a percentage of work complete, rather than cumulative shots completed.
- line_width (int) – The thickness of line segments.
- show_legend (bool) – Whether to show a legend. By default, this choice is automatic.
Returns
A plotly figure.
Return type
PlotlyFigure
Was this page helpful?
Report a bug or request content on GitHub.