add_chart#

AnsysReport.add_chart(x_values, y_values, x_caption, y_caption, title)[source]#

Add a chart to the report using matplotlib.

Parameters:
x_valueslist

list of float x values.

y_valueslist

List of float y values.

x_captionstr

X axis caption.

y_captionstr

Y axis caption.

titlestr

Chart title.