Skip to content

Commit 288a6c1

Browse files
committed
Histogram was not visible due to incorrect ylims.
1 parent 9b9c98a commit 288a6c1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Chapter3_MCMC/IntroMCMC.ipynb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,7 @@
338338
"\n",
339339
"hist(data, bins=20, color=\"k\", histtype=\"stepfilled\", alpha=0.8)\n",
340340
"plt.title(\"Histogram of the dataset\")\n",
341+
"plt.ylim([0, None])\n",
341342
"print data[:10], \"...\""
342343
],
343344
"language": "python",

0 commit comments

Comments
 (0)