Skip to content

Commit f2960cc

Browse files
edits to ch3
1 parent da48932 commit f2960cc

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

Chapter3_MCMC/IntroMCMC.ipynb

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,8 @@
521521
"center_trace = mcmc.trace(\"centers\")[:]\n",
522522
"\n",
523523
"# for pretty colors later in the book.\n",
524-
"colors = [\"#348ABD\", \"#A60628\"] if center_trace[-1, 0] > center_trace[-1, 1] \\\n",
524+
"colors = [\"#348ABD\", \"#A60628\"]\n",
525+
"if center_trace[-1, 0] > center_trace[-1, 1] \\\n",
525526
" else [\"#A60628\", \"#348ABD\"]\n",
526527
"\n",
527528
"plt.plot(center_trace[:, 0], label=\"trace of center 0\", c=colors[0], lw=lw)\n",
@@ -1350,7 +1351,7 @@
13501351
" }\n",
13511352
" .text_cell_render h5 {\n",
13521353
" font-weight: 300;\n",
1353-
" font-size: 16pt;\n",
1354+
" font-size: 22pt;\n",
13541355
" color: #4057A1;\n",
13551356
" font-style: italic;\n",
13561357
" margin-bottom: .5em;\n",
@@ -1378,14 +1379,23 @@
13781379
" });\n",
13791380
"</script>"
13801381
],
1382+
"metadata": {},
13811383
"output_type": "pyout",
13821384
"prompt_number": 1,
13831385
"text": [
1384-
"<IPython.core.display.HTML at 0x50d5f28>"
1386+
"<IPython.core.display.HTML at 0x10ecc2c50>"
13851387
]
13861388
}
13871389
],
13881390
"prompt_number": 1
1391+
},
1392+
{
1393+
"cell_type": "code",
1394+
"collapsed": false,
1395+
"input": [],
1396+
"language": "python",
1397+
"metadata": {},
1398+
"outputs": []
13891399
}
13901400
],
13911401
"metadata": {}

0 commit comments

Comments
 (0)