mirror of
https://github.com/ArthurDanjou/handson-ml3.git
synced 2026-02-02 13:07:51 +01:00
Remove labelcolor argument in plt.legend(), as it requires recent matplotlib
This commit is contained in:
@@ -3044,7 +3044,7 @@
|
|||||||
"ax2.tick_params(axis='y', labelcolor=color)\n",
|
"ax2.tick_params(axis='y', labelcolor=color)\n",
|
||||||
"ax2.set_ylabel(\"Age similarity\", color=color)\n",
|
"ax2.set_ylabel(\"Age similarity\", color=color)\n",
|
||||||
"\n",
|
"\n",
|
||||||
"plt.legend(loc=\"upper left\", labelcolor=color)\n",
|
"plt.legend(loc=\"upper left\")\n",
|
||||||
"save_fig(\"age_similarity_plot\")\n",
|
"save_fig(\"age_similarity_plot\")\n",
|
||||||
"plt.show()"
|
"plt.show()"
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user