pygsti.report.gof_boxplot_keyplot

pygsti.report.gof_boxplot_keyplot(strs, xlabel='$\\rho_i$', ylabel='$E_i$', title='', size=None, save_to=None, ticSize=15)

Create a color box plot of chi^2 values.

Parameters:
  • strs (2-tuple) – A (prepStrs,effectStrs) tuple usually generated by calling get_spam_strs(...)
  • ylabel (xlabel,) – X and Y axis labels
  • title (string, optional) – Plot title (latex can be used)
  • size (tuple, optional) – The (width,height) figure size in inches. None enables automatic calculation based on gateMatrix size.
  • save_to (str, optional) – save figure to this filename (usually ending in .pdf)
  • ticSize (int, optional) – size of tic marks
Returns:

rptFig – The encapsulated matplotlib figure that was generated.

Return type:

ReportFigure