Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Chapter1_Introduction/Ch1_Introduction_PyMC3.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -772,7 +772,7 @@
"ax.set_autoscaley_on(False)\n",
"\n",
"plt.hist(lambda_1_samples, histtype='stepfilled', bins=30, alpha=0.85,\n",
" label=\"posterior of $\\lambda_1$\", color=\"#A60628\", normed=True)\n",
" label=\"posterior of $\\lambda_1$\", color=\"#A60628\", density=True)\n",
"plt.legend(loc=\"upper left\")\n",
"plt.title(r\"\"\"Posterior distributions of the variables\n",
" $\\lambda_1,\\;\\lambda_2,\\;\\tau$\"\"\")\n",
Expand All @@ -782,7 +782,7 @@
"ax = plt.subplot(312)\n",
"ax.set_autoscaley_on(False)\n",
"plt.hist(lambda_2_samples, histtype='stepfilled', bins=30, alpha=0.85,\n",
" label=\"posterior of $\\lambda_2$\", color=\"#7A68A6\", normed=True)\n",
" label=\"posterior of $\\lambda_2$\", color=\"#7A68A6\", density=True)\n",
"plt.legend(loc=\"upper left\")\n",
"plt.xlim([15, 30])\n",
"plt.xlabel(\"$\\lambda_2$ value\")\n",
Expand Down