update#
- GradientNormPanel.update(ax: Axes, fig: Figure, project, state: PanelState) None#
Push the latest gradient-norm history into the persistent line.
Switches to a logarithmic y-axis when
auto_logis enabled and every observed value is strictly positive. Updates the title to flag gradient-free runs.- Parameters:
- ax
matplotlib.axes.Axes Axes assigned to this panel.
- fig
matplotlib.figure.Figure Parent figure (unused).
- project
Project Optimization project (unused).
- state
PanelState Snapshot of the current optimization history.
- ax