mitmedialab / Vida_Modeling

User Interface and Simulation Platform for a System Dynamics Model
MIT License
6 stars 2 forks source link

Fix matplotlib-related memory issue #6

Closed jackreid closed 4 years ago

jackreid commented 4 years ago

Turns out that the current graph updating method doesn't explicitly close/delete the previous matplolib figures, resulting in memory accumulation over time, particularly if the week-by-week manual decision inputs are being used.