Setting different color for each series in scatter plot on matplotlib

Suppose I have three data sets: X = [1,2,3,4] Y1 = [4,8,12,16] Y2 = [1,4,9,16] I can scatter plot this: from matplotlib import pyplot as plt plt.scatter(X,Y1,color=”red”) plt.scatter(X,Y2,color=”blue”) How can I do this with 10 sets? I searched for this and could find any reference to what I’m asking. Edit: clarifying (hopefully) my question … Read more