I have file which contains a list of coordinates. I would like to take each point and plot it one after another, creating some sort of animation.
Assuming I am getting the data like this, what should I do in order to have each point plotted for a split second and then replaced with the next one?
...
for line in f:
data = line.split(',')
x_coord = data[0]
y_coord = data[1]
...