Skip to content

Commit 53a4bb6

Browse files
committed
fix tutorial notebook
1 parent 2a53816 commit 53a4bb6

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

docs/tutorial/getting_started.ipynb

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -178,19 +178,18 @@
178178
"cell_type": "code",
179179
"execution_count": null,
180180
"metadata": {
181-
"collapsed": false,
182-
"scrolled": false
181+
"collapsed": false
183182
},
184183
"outputs": [],
185184
"source": [
186185
"import paramnormal\n",
187186
"seaborn.set(style='ticks', context='notebook', rc=clear_bkgd)\n",
188187
"\n",
189-
"fig, (ax1, ax2, ax3, ax4) = pyplot.subplots(figsize=(8, 5), nrows=4)\n",
188+
"fig, (ax1, ax2, ax3, ax4) = pyplot.subplots(figsize=(8, 6), nrows=4)\n",
190189
"\n",
191190
"ax1.set_xscale('prob')\n",
192191
"ax1.set_xlim(left=2, right=98)\n",
193-
"ax1.set_xlabel('Normal probability scale')\n",
192+
"ax1.set_xlabel('Normal probability scale, as percents')\n",
194193
"ax1.set_yticks([])\n",
195194
"\n",
196195
"beta1 = paramnormal.beta(α=3, β=2)\n",
@@ -206,7 +205,7 @@
206205
"ax3.set_yticks([])\n",
207206
"\n",
208207
"ax4.set_xlim(left=2, right=98)\n",
209-
"ax4.set_xticks(ax1.get_xticks()[14:-14])\n",
208+
"ax4.set_xticks(ax1.get_xticks()[12:-12])\n",
210209
"ax4.set_xlabel('Linear scale (for reference)')\n",
211210
"ax4.set_yticks([])\n",
212211
"\n",
@@ -354,4 +353,4 @@
354353
},
355354
"nbformat": 4,
356355
"nbformat_minor": 0
357-
}
356+
}

0 commit comments

Comments
 (0)