For example, if we have:
xs = [1, 2, 3, 4, 5, 6, 7, 8, 9]
ys = [1, 2, 3, 4, 5, 6, 7, 8, 9]
name = [a, b, c, d, e, f, g, h, i]
while True:
user_input = input('Enter name: ')
for i, j, name in zip(xs, ys, name):
if(user_input == name):
ax.scatter(i, j)
plt.show()
So basically here user enters a name and it gets plotted according to its xs and ys coordinates. How can i make it so that if user enters another name it gets plotted too without losing previous name plot?