I'm trying to plot K-Means Clustering(3) using matplotlib on Spyder IDE. The code runs without error. However, ironically the cmap is not applied to the graph, thus showing a basic blue colored scatter plot as result.
plt.scatter(df['X'], df['Y'], s=50, cmap='viridis')
What changes should I make to get each cluster colored differently?