Hi I'm trying to plot a random walk of n particles and I thought of using matplotlib.animate. If I have a known amount of lines I know how to do it, with line.set_data([], []), but how should I do it if I had a random or huge amount of particles?
Maybe there's another method. I thought of plt.scatter, but isn't that too slow?