Remove labelcolor argument in plt.legend(), as it requires recent matplotlib
parent
ed704b8e34
commit
394f64bf8f
|
@ -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()"
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue