update#

abstractmethod Panel.update(ax: Axes, fig: Figure, project, state: PanelState) None#

Refresh the panel from a PanelState snapshot.

Called once per iteration update. Subclasses should mutate the artists created in setup rather than clearing the axes wholesale so the panel stays cheap to redraw.

Parameters:
axmatplotlib.axes.Axes

Axes assigned to this panel.

figmatplotlib.figure.Figure

Parent figure.

projectProject

The optimization project.

statePanelState

Snapshot of the optimization history at the current iteration.