I am using the following code to make animations:
# Here I import some data to plot (a big list) data2=np.loadtxt(r\'C:/Users/data2.txt\') # Now I plot it