Skip to content

Commit a662abe

Browse files
committed
Chapter 1 - make Poisson code runnable again
1 parent 8e6df29 commit a662abe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Chapter1_Introduction/Chapter1_Introduction.ipynb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -427,6 +427,7 @@
427427
"a = np.arange(16)\n",
428428
"poi = stats.poisson\n",
429429
"lambda_ = [1.5, 4.25]\n",
430+
"colours = [\"#348ABD\", \"#A60628\"]\n",
430431
"\n",
431432
"plt.bar(a, poi.pmf(a, lambda_[0]), color=colours[0],\n",
432433
" label=\"$\\lambda = %.1f$\" % lambda_[0], alpha=0.60,\n",

0 commit comments

Comments
 (0)