So in the examples of matplotlib.animation there are two main functions that are used to make animations: AritstAnimation and FuncAnimation.
According to the documentation the use of each of them is:
.ArtistAnimation:
Before calling this function, all plotting should have taken place and the relevant artists saved.
FuncAnimation Makes an animation by repeatedly calling a function func, passing in (optional) arguments in fargs.
So it appears to me that ArtistAnimation is useful when you have already the whole array, list or set of whatever object you want to make an animation from. FuncAnimation in the other hand seems to be more useful whenever you have a function that is able to give it your next result.
Is my intuition above correct about this? My question in general is when is more convenient to use one or the other.
Thanks in advance