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:
- ax
matplotlib.axes.Axes Axes assigned to this panel.
- fig
matplotlib.figure.Figure Parent figure.
- project
Project The optimization project.
- state
PanelState Final snapshot of the optimization history.
- ax