From f47171064ad95517f69a2d0922a517c910a0bb4f Mon Sep 17 00:00:00 2001 From: Ramin RX7 <52785580+Ramin-RX7@users.noreply.github.com> Date: Wed, 8 Feb 2023 14:04:41 +0330 Subject: [PATCH] updated sns.FacetGrid() call as in `https://seaborn.pydata.org/generated/seaborn.FacetGrid.html#seaborn-facetgrid`, Does not have any argument named `size`. Instead of `size` you should use `height` and `aspect` --- 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 480aaef3..14bac8f7 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() ```