Remove redundant comment
parent
146e6fc062
commit
3552690321
|
@ -1270,7 +1270,7 @@
|
||||||
"ax2 = ax1.twinx() # create a twin axis that shares the same x-axis\n",
|
"ax2 = ax1.twinx() # create a twin axis that shares the same x-axis\n",
|
||||||
"color = \"blue\"\n",
|
"color = \"blue\"\n",
|
||||||
"ax2.plot(ages, rbf1, color=color, label=\"gamma = 0.10\")\n",
|
"ax2.plot(ages, rbf1, color=color, label=\"gamma = 0.10\")\n",
|
||||||
"ax2.plot(ages, rbf2, color=color, label=\"gamma = 0.03\", linestyle=\"--\",)\n",
|
"ax2.plot(ages, rbf2, color=color, label=\"gamma = 0.03\", linestyle=\"--\")\n",
|
||||||
"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",
|
||||||
|
|
|
@ -138,13 +138,6 @@
|
||||||
" plt.savefig(path, format=fig_extension, dpi=resolution)"
|
" plt.savefig(path, format=fig_extension, dpi=resolution)"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"cell_type": "markdown",
|
|
||||||
"metadata": {},
|
|
||||||
"source": [
|
|
||||||
"First, let's import a few common modules, ensure MatplotLib plots figures inline and prepare a function to save the figures."
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"cell_type": "markdown",
|
"cell_type": "markdown",
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
|
|
Loading…
Reference in New Issue