How to start and stop animation.FuncAnimation

by: mula, 7 years ago


Hi,
I'm new to Python programming, so sorry if it's a stupid question.

I'm using tkinter and matplotlib to plot a live graph in a gui. I followed the tutorial on this website "Plotting Live Updating Data in Matplotlib and our Tkinter GUI" and used the animation.FuncAnimation.
Now I would like to start and stop the animateFunc by pressing a button on the gui, but I don't know how to realize it.

I would be grateful for any kind of help!



You must be logged in to post. Please login or register an account.