Here are three SUPER simple ways to make animated graphs in python. Two methods use matplotlib and one uses vpython 00:00 - Intro 01:34 - Repeated graphs 06:04 - Matplotlib FuncAnimation 12:52 - VPython This is for you, Future Rhett
this is excellent - thank you so much!! and I'll add one more thing if anyone else has the same trouble I had... to get the animated wave in second example, I needed a "magic command" at the very beginning of the file... like this: " %matplotlib notebook" (I'm using juypter notebook on windows)
Nice to see something specific for graph animations. The first two worked fine, but the last one does not. The green triangle indicator gets stuck at the "g1" line near the top and never gets any further than that. I looked it over quite a bit, but not seeing what's wrong. I wonder if I have to install something. I did have to install 'vpython', due to an error. Nevertheless, I really like the animated graphs. Powerful tool to use!