Hardware Loop Plot#

class HardwareLoopPlot(title='')[source]#

Bases: ABC

prepare_figure()[source]#

Prepare the figure for the hardware loop plot.

Returns:

Figure and axes of the hardware loop plot.

Return type:

Tuple[plt.Figure, plt.Axes]

update_plot(sample)[source]#

Update the hardware loop plot.

Internally calls the abstract _update_plot() method.

Parameters:

sample (HardwareLoopSample) – Hardware loop sample to be plotted.

Raises:

RuntimeError – If the hardware loop is not set.

Return type:

None

property axes: Any]#

Axes of the hardware loop plot.

property figure: Figure#

Figure of the hardware loop plot.

property hardware_loop: HardwareLoop | None#

Hardware loop this plot is attached to.

property title: str#

Title of the hardware loop plot.