Open sperezconesa opened 5 years ago
apparently it works if
anim = animation.FuncAnimation(fig, animate, init_func=init,
frames=200, interval=20, blit=True,repeat=False)
is substituted by:
anim = animation.FuncAnimation(fig, animate, init_func=init,
frames=range(200), interval=20, blit=True,repeat=False)
Dear all, I have tried to make an animation with jupyter-matplotlib. It has worked, but despite the repeat=False flag it just repeats forever. The example is taken from a tutorial. This does not happen if I just use the code as a script.
Thanks a lot! Sergio