update#
- abstractmethod Panel.update(ax: Axes, fig: Figure, project, state: PanelState) None#
Refresh the panel from a
PanelStatesnapshot.Called once per iteration update. Subclasses should mutate the artists created in
setuprather than clearing the axes wholesale so the panel stays cheap to redraw.- Parameters:
- ax
matplotlib.axes.Axes Axes assigned to this panel.
- fig
matplotlib.figure.Figure Parent figure.
- project
Project The optimization project.
- state
PanelState Snapshot of the optimization history at the current iteration.
- ax