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:
- ax
matplotlib.axes.Axes Axes assigned to this panel.
- fig
matplotlib.figure.Figure Parent figure (unused).
- project
Project Optimization project (unused; kept for symmetry).
- state
PanelState Current optimization snapshot.
state.current_paramsandstate.initial_paramsdrive the rendering.
- ax