generate_animation
generate_animation(model)Generate vidigi animation.
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| model | Model | A model instance that has already been executed (model.run()) and contains a vidigi logger and config. | required |
Returns
| Name | Type | Description |
|---|---|---|
| fig | plotly.graph_objs._figure.Figure | An animated Plotly figure object representing the patient flow. |