0

How can I animate the following plots

I am plotting the Vicsek model which in brief is about collective motion as like with birds. My function creates a plot at every time step for 100 steps. In other words it uses a for loop in time such that after every step it plots a quiver plot. However I want to animate it so there is a single graph of that updates every time step so it looks like a movie. Does anyone know how I would go about doing this. I am using Jupiter notebook and not very good at coding aha

27th Mar 2020, 10:55 PM
Joshua
1 Odpowiedź
+ 2
Hi Joshua. Try bokeh (https://bokeh.org/). From my perspective, the docs are not that good, but they have a lot of exampels, which realy help!
17th Sep 2020, 11:05 PM
Zen Coding
Zen Coding - avatar