About cookies on this site Our websites require some cookies to function properly (required). In addition, other cookies may be used with your consent to analyze site usage, improve the user experience and for advertising. For more information, please review your options. By visiting our website, you agree to our processing of information as described in IBM’sprivacy statement. To provide a smooth navigation, your cookie preferences will be shared across the IBM web domains listed here.
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.