Note

This is the documentation for the current state of the development branch of Qiskit Experiments. The documentation or APIs here can change prior to being released.

MplCurveDrawer

class MplCurveDrawer[source]

Curve drawer for MatplotLib backend.

Attributes

MplCurveDrawer.DefaultColors

MplCurveDrawer.DefaultMarkers

MplCurveDrawer.figure

Return figure object handler to be saved in the database.

MplCurveDrawer.options

Return the drawing options.

Methods

MplCurveDrawer.config()

Return the config dictionary for this drawing.

MplCurveDrawer.draw_confidence_interval(...)

Draw cofidence interval.

MplCurveDrawer.draw_fit_line(x_data, y_data)

Draw fit line.

MplCurveDrawer.draw_fit_report(description, ...)

Draw text box that shows fit reports.

MplCurveDrawer.draw_formatted_data(x_data, ...)

Draw the formatted data that is used for fitting.

MplCurveDrawer.draw_raw_data(x_data, y_data)

Draw raw data.

MplCurveDrawer.format_canvas()

Final cleanup for the canvas appearance.

MplCurveDrawer.initialize_canvas()

Initialize the drawing canvas.

MplCurveDrawer.set_options(**fields)

Set the drawing options.