Skip to main content

Module result

Module result 

Source
Expand description

SVG-first result/statistics visualization.

This module provides histogram and probability-distribution plots for measurement outcomes and other count-based statistics.

§Module Structure

Structs§

ResultPlotOptions
Options for histogram and probability-distribution plots.

Functions§

plot_distribution
Plot an execution result’s measured counts as a normalized probability distribution.
plot_histogram
Plot an execution result’s raw measured counts as an SVG histogram.
render_result_plot_to_file
Write result-plot SVG markup to an output file.