on_optimization_end#

GeometryPanel.on_optimization_end(ax: Axes, fig: Figure, project, state: PanelState) None#

Optional hook called once when the optimization completes.

The default implementation does nothing. Override to add end-of-run annotations (e.g. a marker on the best FOM, a final snapshot of a monitor, or a status badge).

Parameters:
axmatplotlib.axes.Axes

Axes assigned to this panel.

figmatplotlib.figure.Figure

Parent figure.

projectProject

The optimization project.

statePanelState

Final snapshot of the optimization history.