|
168 | 168 | "collapsed": false,
|
169 | 169 | "input": [
|
170 | 170 | "\"\"\"\n",
|
171 |
| - "The book uses a custom matplotlibrc file, which provices the unique styles for matplotlib plots.\n", |
| 171 | + "The book uses a custom matplotlibrc file, which provides the unique styles for matplotlib plots.\n", |
172 | 172 | "If executing this book, and you wish to use the book's styling, provided are two options:\n",
|
173 | 173 | " 1. Overwrite your own matplotlibrc file with the rc-file provided in the book's styles/ dir.\n",
|
174 | 174 | " See http://matplotlib.org/users/customizing.html\n",
|
|
179 | 179 | " s = json.load( open(\"../styles/bmh_matplotlibrc.json\") )\n",
|
180 | 180 | " matplotlib.rcParams.update(s)\n",
|
181 | 181 | "\"\"\"\n",
|
182 |
| - "\n", |
| 182 | + "#the code below can be passed over, as it is currently not important.\n", |
183 | 183 | "figsize( 12.5, 11)\n",
|
184 | 184 | "\n",
|
185 | 185 | "import scipy.stats as stats\n",
|
|
189 | 189 | "k = 1\n",
|
190 | 190 | "x = np.linspace(0,1,100)\n",
|
191 | 191 | "\n",
|
192 |
| - "\n", |
193 | 192 | "for N in n_trials:\n",
|
194 | 193 | " sx = subplot( len(n_trials), 1, k)\n",
|
195 | 194 | " plt.setp(sx.get_yticklabels(), visible=False)\n",
|
|
951 | 950 | " margin-right:auto;\n",
|
952 | 951 | " }\n",
|
953 | 952 | " h1 {\n",
|
954 |
| - " font-family: \"Charis SIL\", Palatino, serif;\n", |
| 953 | + " font-family: Helvetica, serif;\n", |
955 | 954 | " }\n",
|
956 | 955 | " h4{\n",
|
957 | 956 | " margin-top:12px;\n",
|
|
984 | 983 | " .warning{\n",
|
985 | 984 | " color: rgb( 240, 20, 20 )\n",
|
986 | 985 | " }\n",
|
987 |
| - " \n", |
988 |
| - " ul li { margin:0 10 10 0;}\n", |
989 |
| - " ol li { margin:0 10 10 0;}\n", |
| 986 | + " \n", |
990 | 987 | "</style>\n",
|
991 | 988 | "<script>\n",
|
992 | 989 | " MathJax.Hub.Config({\n",
|
|
1005 | 1002 | "</script>"
|
1006 | 1003 | ],
|
1007 | 1004 | "output_type": "pyout",
|
1008 |
| - "prompt_number": 1, |
| 1005 | + "prompt_number": 66, |
1009 | 1006 | "text": [
|
1010 |
| - "<IPython.core.display.HTML at 0x82bea20>" |
| 1007 | + "<IPython.core.display.HTML at 0xbc5e030>" |
1011 | 1008 | ]
|
1012 | 1009 | }
|
1013 | 1010 | ],
|
1014 |
| - "prompt_number": 1 |
| 1011 | + "prompt_number": 66 |
1015 | 1012 | },
|
1016 | 1013 | {
|
1017 | 1014 | "cell_type": "code",
|
|
0 commit comments