setup#
- GeometryPanel.setup(ax: Axes, fig: Figure, project) None#
Resolve the parametrization, validate it, and configure the axes.
- Parameters:
- ax
matplotlib.axes.Axes Axes assigned to this panel.
- fig
matplotlib.figure.Figure Parent figure (unused).
- project
Project Optimization project; used to resolve
self.parametrizationwhen the user did not supply an explicit override.
- ax
- Raises:
TypeErrorIf the resolved parametrization does not have a callable
visualize(ax, params, initial_params)method.