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",