Skip to content

Commit e9f44c6

Browse files
author
Yihan Cao
committed
practice the examples
rerun the examples with minor changes if necessary
1 parent f64e6e8 commit e9f44c6

File tree

20 files changed

+15326
-247
lines changed

20 files changed

+15326
-247
lines changed

chapter02_best_practices/08_debugging.ipynb

Lines changed: 31 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,19 @@
99
},
1010
{
1111
"cell_type": "code",
12-
"execution_count": 1,
12+
"execution_count": null,
1313
"metadata": {},
14-
"outputs": [],
14+
"outputs": [
15+
{
16+
"name": "stdout",
17+
"output_type": "stream",
18+
"text": [
19+
"--Call--\n",
20+
"> /Users/yihanc/anaconda3/lib/python3.7/site-packages/IPython/core/displayhook.py(252)__call__()\n",
21+
"-> def __call__(self, result=None):\n"
22+
]
23+
}
24+
],
1525
"source": [
1626
"import pdb\n",
1727
"pdb.set_trace()"
@@ -37,7 +47,25 @@
3747
]
3848
}
3949
],
40-
"metadata": {},
50+
"metadata": {
51+
"kernelspec": {
52+
"display_name": "Python 3",
53+
"language": "python",
54+
"name": "python3"
55+
},
56+
"language_info": {
57+
"codemirror_mode": {
58+
"name": "ipython",
59+
"version": 3
60+
},
61+
"file_extension": ".py",
62+
"mimetype": "text/x-python",
63+
"name": "python",
64+
"nbconvert_exporter": "python",
65+
"pygments_lexer": "ipython3",
66+
"version": "3.7.4"
67+
}
68+
},
4169
"nbformat": 4,
4270
"nbformat_minor": 2
4371
}
Binary file not shown.

chapter03_notebook/01_blocks.ipynb

Lines changed: 74 additions & 24 deletions
Large diffs are not rendered by default.

chapter03_notebook/02_nbformat.ipynb

Lines changed: 126 additions & 43 deletions
Large diffs are not rendered by default.

chapter03_notebook/03_widgets.ipynb

Lines changed: 105 additions & 36 deletions
Large diffs are not rendered by default.

chapter03_notebook/04_custom_widgets.ipynb

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,25 @@
177177
]
178178
}
179179
],
180-
"metadata": {},
180+
"metadata": {
181+
"kernelspec": {
182+
"display_name": "Python 3",
183+
"language": "python",
184+
"name": "python3"
185+
},
186+
"language_info": {
187+
"codemirror_mode": {
188+
"name": "ipython",
189+
"version": 3
190+
},
191+
"file_extension": ".py",
192+
"mimetype": "text/x-python",
193+
"name": "python",
194+
"nbconvert_exporter": "python",
195+
"pygments_lexer": "ipython3",
196+
"version": "3.7.4"
197+
}
198+
},
181199
"nbformat": 4,
182200
"nbformat_minor": 2
183201
}

chapter03_notebook/05_custom_notebook.ipynb

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,25 @@
260260
]
261261
}
262262
],
263-
"metadata": {},
263+
"metadata": {
264+
"kernelspec": {
265+
"display_name": "Python 3",
266+
"language": "python",
267+
"name": "python3"
268+
},
269+
"language_info": {
270+
"codemirror_mode": {
271+
"name": "ipython",
272+
"version": 3
273+
},
274+
"file_extension": ".py",
275+
"mimetype": "text/x-python",
276+
"name": "python",
277+
"nbconvert_exporter": "python",
278+
"pygments_lexer": "ipython3",
279+
"version": "3.7.4"
280+
}
281+
},
264282
"nbformat": 4,
265283
"nbformat_minor": 2
266284
}

chapter03_notebook/temp.tplx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
((*- extends 'article.tplx' -*))
2+
3+
((* block author *))
4+
\author{Cyrille Rossant}
5+
((* endblock author *))
6+
7+
((* block title *))
8+
\title{My document}
9+
((* endblock title *))

0 commit comments

Comments
 (0)