3 ms·
My current issue with the animation module is that there is no way to clear an animation away. You can clear the figure, but the animation will redraw on top o
by MereInterest 9y ago
My current issue with the animation module is that there is no way to clear an animation away. You can clear the figure, but the animation will redraw on top of the cleared figure. The only workaround is to delete the FuncAnimation object, but that is difficult to do in a language without deterministic destruction.
- rjtavares 9y agoHave you tried moviepy? It works by converting matplotlib figures into numpy arrays (you can even pre-build a list of arrays and then just iterate over the list). http://zulko.github.io/blog/2014/11/29/data-animations-with-python-and-moviepy/ http://zulko.github.io/blog/2014/11/29/data-animations-with-...