Developer.
cluster_df[cluster_df.cluster==i][feature2], cluster_df[cluster_df.cluster==i][feature3], c=color_list[i], label=label) # Set labels and legend ax.set_xlabel(feature1) ax.set_ylabel(feature2) ax.set_zlabel(feature3) ax.set_title('Holiday Shopping KMeans Clusters') ax.legend() With the clusters