I have a some x and y coordinates like this:
x = [None, 5, 7, None, None, 9]
y = [1, 2, 3, 4, 5, 6]
I want a while loop to go through each list item in turn and plot a circle marker if it has an x and y coordinate and then the plot must stay there as it continues to plot more values, eventually it will have plotted every value from the lists.
Code:
i = 0
while i < 100:
plt.plot((b[i]), (a[i]), marker='o')
plt.ion()
plt.pause(1)
i += 1
Some reason, it seems to plot the marker and then it disappears, any ideas?
