From 890cf47657d827394e6ace9df055732edc2cb557 Mon Sep 17 00:00:00 2001 From: Maik Fruhner Date: Wed, 29 May 2024 09:49:46 +0200 Subject: [PATCH] Fix 5-2 Seaborn Lineplot call --- 5-Clustering/2-K-Means/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/5-Clustering/2-K-Means/README.md b/5-Clustering/2-K-Means/README.md index 18a08fdd..5fe6eb74 100644 --- a/5-Clustering/2-K-Means/README.md +++ b/5-Clustering/2-K-Means/README.md @@ -169,7 +169,7 @@ Previously, you surmised that, because you have targeted 3 song genres, you shou ```python plt.figure(figsize=(10,5)) - sns.lineplot(range(1, 11), wcss,marker='o',color='red') + sns.lineplot(x=range(1, 11), y=wcss, marker='o', color='red') plt.title('Elbow') plt.xlabel('Number of clusters') plt.ylabel('WCSS')