setup#

GeometryPanel.setup(ax: Axes, fig: Figure, project) None#

Resolve the parametrization, validate it, and configure the axes.

Parameters:
axmatplotlib.axes.Axes

Axes assigned to this panel.

figmatplotlib.figure.Figure

Parent figure (unused).

projectProject

Optimization project; used to resolve self.parametrization when the user did not supply an explicit override.

Raises:
TypeError

If the resolved parametrization does not have a callable visualize(ax, params, initial_params) method.