setup#
- abstractmethod Panel.setup(ax: Axes, fig: Figure, project) None#
Initialise the panel on its assigned axes.
Called exactly once by
GraphicalVisualizerafter the figure has been created. Subclasses should configure static labels/titles, and create any persistent artists (lines, images, text) they will later mutate inupdate.- Parameters:
- ax
matplotlib.axes.Axes Axes assigned to this panel.
- fig
matplotlib.figure.Figure Parent figure (useful for adding colorbars).
- project
Project The optimization project, e.g. for inspecting the parametrization or FDTD session.
- ax