From 02de7cdd44b5eaab72df63a9449ba4d6a65927c7 Mon Sep 17 00:00:00 2001 From: Maik Fruhner Date: Mon, 27 May 2024 09:14:54 +0200 Subject: [PATCH] Fix 5-1 sns.FacetGrid call to match sns 0.13 API --- 5-Clustering/1-Visualize/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/5-Clustering/1-Visualize/README.md b/5-Clustering/1-Visualize/README.md index 88fcd3728..b862b45a3 100644 --- a/5-Clustering/1-Visualize/README.md +++ b/5-Clustering/1-Visualize/README.md @@ -300,7 +300,7 @@ Are these three genres significantly different in the perception of their dancea 1. Create a scatter plot: ```python - sns.FacetGrid(df, hue="artist_top_genre", size=5) \ + sns.FacetGrid(df, hue="artist_top_genre", height=5) \ .map(plt.scatter, "popularity", "danceability") \ .add_legend() ```