diff --git a/02_end_to_end_machine_learning_project.ipynb b/02_end_to_end_machine_learning_project.ipynb index dedd201..bb71e46 100644 --- a/02_end_to_end_machine_learning_project.ipynb +++ b/02_end_to_end_machine_learning_project.ipynb @@ -551,7 +551,9 @@ "housing.plot(kind=\"scatter\", x=\"longitude\", y=\"latitude\", alpha=0.4,\n", " s=housing[\"population\"]/100, label=\"population\", figsize=(10,7),\n", " c=\"median_house_value\", cmap=plt.get_cmap(\"jet\"), colorbar=True,\n", - ")\n", + " sharex=False) # sharex=False fixes a bug (temporary solution)\n", + " # See: https://github.com/pandas-dev/pandas/issues/10611\n", + " # Thanks to Wilmer Arellano for pointing it out.\n", "plt.legend()\n", "save_fig(\"housing_prices_scatterplot\")" ]