Remove labelcolor argument in plt.legend(), as it requires recent matplotlib

main
Aurélien Geron 2022-02-20 12:55:08 +13:00
parent ed704b8e34
commit 394f64bf8f
1 changed files with 1 additions and 1 deletions

View File

@ -3044,7 +3044,7 @@
"ax2.tick_params(axis='y', labelcolor=color)\n",
"ax2.set_ylabel(\"Age similarity\", color=color)\n",
"\n",
"plt.legend(loc=\"upper left\", labelcolor=color)\n",
"plt.legend(loc=\"upper left\")\n",
"save_fig(\"age_similarity_plot\")\n",
"plt.show()"
]