Skip to content

Commit bc1550e

Browse files
fixing (hopefully) firefox bug. See issue #63
1 parent 19f8aed commit bc1550e

File tree

4 files changed

+29
-23
lines changed

4 files changed

+29
-23
lines changed

Chapter1_Introduction/Chapter1_Introduction.ipynb

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -829,8 +829,9 @@
829829
" # the switchpoint occurring prior to value of 'day'\n",
830830
" ix = day < tau_samples\n",
831831
" # Each posterior sample corresponds to a value for tau.\n",
832-
" # for each day, that value of tau indicates whether we're \"before\" (in the lambda1 \"regime\")\n",
833-
" # or \"after\" (in the lambda2 \"regime\") the switchpoint.\n",
832+
" # for each day, that value of tau indicates whether we're \"before\" \n",
833+
" # (in the lambda1 \"regime\") or\n",
834+
" # \"after\" (in the lambda2 \"regime\") the switchpoint.\n",
834835
" # by taking the posterior sample of lambda1/2 accordingly, we can average\n",
835836
" # over all samples to get an expected value for lambda on that day.\n",
836837
" # As explained, the \"message count\" random variable is Poisson distributed, \n",
@@ -966,8 +967,8 @@
966967
" src: url('http://mirrors.ctan.org/fonts/cm-unicode/fonts/otf/cmunss.otf');\n",
967968
" }\n",
968969
" div.cell{\n",
969-
" width:800px;\n",
970-
" margin-left:auto;\n",
970+
" width:54%;\n",
971+
" margin-left:23% !important;\n",
971972
" margin-right:auto;\n",
972973
" }\n",
973974
" h1 {\n",
@@ -1003,8 +1004,7 @@
10031004
" \n",
10041005
" .warning{\n",
10051006
" color: rgb( 240, 20, 20 )\n",
1006-
" }\n",
1007-
" \n",
1007+
" } \n",
10081008
"</style>\n",
10091009
"<script>\n",
10101010
" MathJax.Hub.Config({\n",
@@ -1023,13 +1023,13 @@
10231023
"</script>"
10241024
],
10251025
"output_type": "pyout",
1026-
"prompt_number": 1,
1026+
"prompt_number": 7,
10271027
"text": [
1028-
"<IPython.core.display.HTML at 0x51baf98>"
1028+
"<IPython.core.display.HTML at 0x52ad400>"
10291029
]
10301030
}
10311031
],
1032-
"prompt_number": 1
1032+
"prompt_number": 7
10331033
},
10341034
{
10351035
"cell_type": "code",

Chapter2_MorePyMC/MorePyMC.ipynb

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2127,8 +2127,8 @@
21272127
" src: url('http://mirrors.ctan.org/fonts/cm-unicode/fonts/otf/cmunss.otf');\n",
21282128
" }\n",
21292129
" div.cell{\n",
2130-
" width:800px;\n",
2131-
" margin-left:auto;\n",
2130+
" width:54%;\n",
2131+
" margin-left:23% !important;\n",
21322132
" margin-right:auto;\n",
21332133
" }\n",
21342134
" h1 {\n",
@@ -2164,8 +2164,7 @@
21642164
" \n",
21652165
" .warning{\n",
21662166
" color: rgb( 240, 20, 20 )\n",
2167-
" }\n",
2168-
" \n",
2167+
" } \n",
21692168
"</style>\n",
21702169
"<script>\n",
21712170
" MathJax.Hub.Config({\n",
@@ -2186,7 +2185,7 @@
21862185
"output_type": "pyout",
21872186
"prompt_number": 1,
21882187
"text": [
2189-
"<IPython.core.display.HTML at 0x5180f98>"
2188+
"<IPython.core.display.HTML at 0x51b4f60>"
21902189
]
21912190
}
21922191
],
@@ -2204,4 +2203,4 @@
22042203
"metadata": {}
22052204
}
22062205
]
2207-
}
2206+
}

Chapter3_MCMC/IntroMCMC.ipynb

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1251,8 +1251,8 @@
12511251
" src: url('http://mirrors.ctan.org/fonts/cm-unicode/fonts/otf/cmunss.otf');\n",
12521252
" }\n",
12531253
" div.cell{\n",
1254-
" width:800px;\n",
1255-
" margin-left:auto;\n",
1254+
" width:54%;\n",
1255+
" margin-left:23% !important;\n",
12561256
" margin-right:auto;\n",
12571257
" }\n",
12581258
" h1 {\n",
@@ -1265,7 +1265,7 @@
12651265
" div.text_cell_render{\n",
12661266
" font-family: Computer Modern, \"Helvetica Neue\", Arial, Helvetica, Geneva, sans-serif;\n",
12671267
" line-height: 145%;\n",
1268-
" font-size: 120%;\n",
1268+
" font-size: 130%;\n",
12691269
" width:800px;\n",
12701270
" margin-left:auto;\n",
12711271
" margin-right:auto;\n",
@@ -1288,8 +1288,7 @@
12881288
" \n",
12891289
" .warning{\n",
12901290
" color: rgb( 240, 20, 20 )\n",
1291-
" }\n",
1292-
" \n",
1291+
" } \n",
12931292
"</style>\n",
12941293
"<script>\n",
12951294
" MathJax.Hub.Config({\n",
@@ -1310,11 +1309,19 @@
13101309
"output_type": "pyout",
13111310
"prompt_number": 1,
13121311
"text": [
1313-
"<IPython.core.display.HTML at 0x59a6ef0>"
1312+
"<IPython.core.display.HTML at 0x51defd0>"
13141313
]
13151314
}
13161315
],
13171316
"prompt_number": 1
1317+
},
1318+
{
1319+
"cell_type": "code",
1320+
"collapsed": false,
1321+
"input": [],
1322+
"language": "python",
1323+
"metadata": {},
1324+
"outputs": []
13181325
}
13191326
],
13201327
"metadata": {}

styles/custom.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
src: url('http://mirrors.ctan.org/fonts/cm-unicode/fonts/otf/cmunss.otf');
55
}
66
div.cell{
7-
width:800px;
8-
margin-left:auto;
7+
width:54%;
8+
margin-left:23% !important;
99
margin-right:auto;
1010
}
1111
h1 {

0 commit comments

Comments
 (0)