I have used KMeans algorithm over my database and I have created a PairGrid to show the points with the hue given by cluster.
km = KMeans(init='random', n_clusters=N, random_state = RANDOM_STATE).fit(df_scaled)
df_numeric["cluster"] = km.labels_
g = sns.PairGrid(data=df_numeric, hue = "cluster", corner = True, palette = "viridis")
g.map_lower(sns.scatterplot, marker=".")
g.map_diag(sns.histplot, color = 0.1)
g.add_legend(frameon=True)
g.legend.set_bbox_to_anchor((.61, .6))
The result is something like this:
I would like now to include in the graph the centroids of each cluster, ideally with a distinct symbol (as a star, for example). Is there any easy way to this in Seaborn? Take in mind that I am calculating the clusters over the scaled dataframe (df_scaled) but I want to plot the original dataframe (df_numeric), so the value of the centroids is not immediately useful, I would need to undo the scaling or label the centroid somehow.
Thank you in advance

