I am writing a julia script and would like to do the following:
- open a plot window
- run a few steps of my model
- update the plot window to show the current status of the model
- repeat steps 2 and 3 indefinitely
I found a few very old discussions about how to do this in a notebook setting, but nothing about how to do it from a script. Is it possible, and if so what’s the up to date way to do it?
It would be ideal if it can be done efficiently and without flickering, but if that’s not possible I will take any hack that works.