Karana.Models.DataPlotter#
This file contains the DataPlotter model.
A model that can be used to update DashApp plots.
Classes#
Parameter class for DataPlotter model. |
|
DataPlotter model. |
Module Contents#
- class Karana.Models.DataPlotter.DataPlotterParams(/, **data: Any)[source]#
Bases:
Karana.Models.KModelParamsParameter class for DataPlotter model.
- Parameters:
plot_first_step (bool) – If True, then update the plot on the first step. Otherwise, the first update will happen at the postModelStep.
dash_app (DashApp) – The DashApp to update.
- plot_first_step: bool = True#
- dash_app: Karana.KUtils.DataPlotter.DashApp = None#
- class Karana.Models.DataPlotter.DataPlotter(name: str, sp: Karana.Dynamics.StatePropagator)[source]#
Bases:
Karana.Models.KModelDataPlotter model.
This model updates a DashApp at the specified interval.
- params: DataPlotterParams#