From a9278b113f0410d81ccd28319447cc78f004da11 Mon Sep 17 00:00:00 2001 From: Andrzej Nowicki Date: Thu, 24 Aug 2023 17:04:13 +0300 Subject: [PATCH] Fixed one last data parameter in solutions --- ...reating Visualizations with Matplotlib and Seaborn.ipynb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/solutions/SOLUTIONS - Creating Visualizations with Matplotlib and Seaborn.ipynb b/solutions/SOLUTIONS - Creating Visualizations with Matplotlib and Seaborn.ipynb index d2954de..de9a0e7 100644 --- a/solutions/SOLUTIONS - Creating Visualizations with Matplotlib and Seaborn.ipynb +++ b/solutions/SOLUTIONS - Creating Visualizations with Matplotlib and Seaborn.ipynb @@ -1289,9 +1289,9 @@ "# Answer 11\n", "fig, ax = plt.subplots(ncols=3, nrows=1, figsize=(15,5))\n", "\n", - "sns.scatterplot(fifa, x=\"Reactions\", y=\"SprintSpeed\", ax=ax[0], alpha=0.1);\n", - "sns.scatterplot(fifa, x=\"Reactions\", y=\"Curve\", ax=ax[1], alpha=0.1);\n", - "sns.scatterplot(fifa, x=\"Reactions\", y=\"Composure\", ax=ax[2], alpha=0.1);\n", + "sns.scatterplot(data=fifa, x=\"Reactions\", y=\"SprintSpeed\", ax=ax[0], alpha=0.1);\n", + "sns.scatterplot(data=fifa, x=\"Reactions\", y=\"Curve\", ax=ax[1], alpha=0.1);\n", + "sns.scatterplot(data=fifa, x=\"Reactions\", y=\"Composure\", ax=ax[2], alpha=0.1);\n", "\n", "ax[0].set_title('Reactions vs SprintSpeed');\n", "ax[1].set_title('Reactions vs Curve');\n",