plot_2d#

ReportPlotter.plot_2d(traces=None, snapshot_path=None, show=True)[source]#

Create a Matplotlib figure based on a list of data.

Parameters:
tracesint, str, list, optional

Trace or traces to be plotted. It can be the trace name, the trace id or a list of those.

snapshot_pathstr, optional

Full path to image file if a snapshot is needed. The default value is None.

showbool, optional

Whether to show the plot or return the matplotlib object. Default is True.

Returns:
matplotlib.pyplot.Figure

Matplotlib figure object.