Hiya, sorry if i'm missing something ridiculously obvious, but i've tried googling to no avail!
I have a function that takes in a certain amount of parameters and plots it with plt.show() at the end of the function
How would I be able to run this function multiple times, with the plot/drawing showing an animation and switching between the graph states after a set time limit, all the while keeping the original plot function unchanged? Is this even possible to do or would I have to write a separate function specifically for the animation.
My best guess would be to store the plots somehow (in an array(?), and then iterate over those stored plots, though I'm unsure whether this is the right approach.
Cheers!