plot_2d#
- ReportPlotter.plot_2d(traces=None, snapshot_path=None, show=True)#
Create a Matplotlib figure based on a list of data.
- Parameters:
- traces
int
,str
,list
,optional
Trace or traces to be plotted. It can be the trace name, the trace id or a list of those.
- snapshot_path
str
,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.
- traces
- Returns:
matplotlib.pyplot.Figure
Matplotlib figure object.