Skip to content

[Bug Report] Chart not correctly resetting #473

@jokroese

Description

@jokroese

After being reset once, the chart visualisation element is not properly reset for any further resets. It will correctly do the first simulation and correctly adapt to one reset. However it then repeats past values for all subsequent runs.

This can easily be seen by changing the 'Number of agents' in the virus_on_networks example. Note that by the second run, the number of agents in the chart will not add up to the number of agents in the parameters.

Simulation with 100 nodes with chart displaying correctly (no reset):
1-correct

Simulation with 10 nodes (after reset from previous simulation):
2-incorrect-after-reset

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions