Launches the control panel, either in a Tkinter or a Jupyter environment, as appropriate. Should go at the end of the user’s model code.
Note that launchCpanel()
assumes a desire to adjust parameters, so it will interrupt Jupyter’s Run All sequence in order to allow the user to adjust parameters before launching the model. If this is not desired, parameters should be set programmatically using model.param(),
and model.launchCpanel()
should not be called.
Notes and Examples