pygsti.report.figure

Defines the ReportTable class

Module Contents

Classes

ReportFigure

A plotly figure and related metadata that can be rendered in a variety of formats.

class pygsti.report.figure.ReportFigure(plotlyfig, colormap=None, python_value=None, **kwargs)

Bases: object

A plotly figure and related metadata that can be rendered in a variety of formats.

For use in pyGSTi reports.

Parameters
  • plotlyfig (plotly.Figure) – The plotly figure to encapsulate

  • colormap (ColorMap, optional) – A pygsti color map object used for this figure.

  • python_value (object, optional) – A python object to be used as the Python-version of this figure (usually the data being plotted in some convenient format).

  • kwargs (dict) – Additional meta-data relevant to this figure

__getstate__(self)
__setstate__(self, state)