update#

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

Re-render the geometry by delegating to parametrization.visualize.

The axes are cleared first because parametrization implementations own the full visual (vertices, polygon outline, baseline overlay) and patch it from scratch on every call.

Parameters:
axmatplotlib.axes.Axes

Axes assigned to this panel.

figmatplotlib.figure.Figure

Parent figure (unused).

projectProject

Optimization project (unused; kept for symmetry).

statePanelState

Current optimization snapshot. state.current_params and state.initial_params drive the rendering.