plot_contour#

ReportPlotter.plot_contour(trace=0, polar=False, levels=64, max_theta=180, color_bar=None, snapshot_path=None, show=True)#

Create a Matplotlib figure contour based on a list of data.

Parameters:
traceint, str, optional

Trace index on which create the 3D Plot.

polarbool, optional

Generate the plot in polar coordinates. The default is True. If False, the plot generated is rectangular.

levelsint, optional

Color map levels. The default is 64.

max_thetafloat or int, optional

Maximum theta angle for plotting. It applies only for polar plots. The default is 180, which plots the data for all angles. Setting max_theta to 90 limits the displayed data to the upper hemisphere, that is (0 < theta < 90).

color_barstr, optional

Color bar title. The default is None in which case the color bar is not included.

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.