Skip to content

Commit 7affc8a

Browse files
committed
minor fixes
in typesetting and running code
1 parent 08c9e47 commit 7affc8a

File tree

2 files changed

+47
-40
lines changed

2 files changed

+47
-40
lines changed

examples/Notebook/Running Code.ipynb

Lines changed: 25 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -30,21 +30,17 @@
3030
},
3131
{
3232
"cell_type": "code",
33-
"execution_count": 1,
34-
"metadata": {
35-
"collapsed": false
36-
},
33+
"execution_count": 3,
34+
"metadata": {},
3735
"outputs": [],
3836
"source": [
3937
"a = 10"
4038
]
4139
},
4240
{
4341
"cell_type": "code",
44-
"execution_count": 2,
45-
"metadata": {
46-
"collapsed": false
47-
},
42+
"execution_count": 4,
43+
"metadata": {},
4844
"outputs": [
4945
{
5046
"name": "stdout",
@@ -85,9 +81,7 @@
8581
{
8682
"cell_type": "code",
8783
"execution_count": null,
88-
"metadata": {
89-
"collapsed": false
90-
},
84+
"metadata": {},
9185
"outputs": [],
9286
"source": [
9387
"import time\n",
@@ -105,9 +99,7 @@
10599
{
106100
"cell_type": "code",
107101
"execution_count": null,
108-
"metadata": {
109-
"collapsed": false
110-
},
102+
"metadata": {},
111103
"outputs": [],
112104
"source": [
113105
"import sys\n",
@@ -170,9 +162,7 @@
170162
{
171163
"cell_type": "code",
172164
"execution_count": 2,
173-
"metadata": {
174-
"collapsed": false
175-
},
165+
"metadata": {},
176166
"outputs": [
177167
{
178168
"name": "stdout",
@@ -189,9 +179,7 @@
189179
{
190180
"cell_type": "code",
191181
"execution_count": 3,
192-
"metadata": {
193-
"collapsed": false
194-
},
182+
"metadata": {},
195183
"outputs": [
196184
{
197185
"name": "stderr",
@@ -223,9 +211,7 @@
223211
{
224212
"cell_type": "code",
225213
"execution_count": 4,
226-
"metadata": {
227-
"collapsed": false
228-
},
214+
"metadata": {},
229215
"outputs": [
230216
{
231217
"name": "stdout",
@@ -266,9 +252,7 @@
266252
{
267253
"cell_type": "code",
268254
"execution_count": 5,
269-
"metadata": {
270-
"collapsed": false
271-
},
255+
"metadata": {},
272256
"outputs": [
273257
{
274258
"name": "stdout",
@@ -342,9 +326,7 @@
342326
{
343327
"cell_type": "code",
344328
"execution_count": 6,
345-
"metadata": {
346-
"collapsed": false
347-
},
329+
"metadata": {},
348330
"outputs": [
349331
{
350332
"name": "stdout",
@@ -861,24 +843,30 @@
861843
{
862844
"cell_type": "code",
863845
"execution_count": null,
864-
"metadata": {
865-
"collapsed": false
866-
},
846+
"metadata": {},
867847
"outputs": [],
868848
"source": []
869849
}
870850
],
871851
"metadata": {
872852
"kernelspec": {
853+
"display_name": "Python 3",
854+
"language": "python",
855+
"name": "python3"
856+
},
857+
"language_info": {
873858
"codemirror_mode": {
874859
"name": "ipython",
875860
"version": 3
876861
},
877-
"display_name": "IPython (Python 3)",
878-
"language": "python",
879-
"name": "python3"
862+
"file_extension": ".py",
863+
"mimetype": "text/x-python",
864+
"name": "python",
865+
"nbconvert_exporter": "python",
866+
"pygments_lexer": "ipython3",
867+
"version": "3.6.2"
880868
}
881869
},
882870
"nbformat": 4,
883-
"nbformat_minor": 0
884-
}
871+
"nbformat_minor": 1
872+
}

examples/Notebook/Typesetting Equations.ipynb

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
"\\end{align}\n",
2525
"```\n",
2626
"### Display\n",
27+
"\n",
2728
"\\begin{align}\n",
2829
"\\dot{x} & = \\sigma(y-x) \\\\\n",
2930
"\\dot{y} & = \\rho x - y - xz \\\\\n",
@@ -247,7 +248,25 @@
247248
]
248249
}
249250
],
250-
"metadata": {},
251+
"metadata": {
252+
"kernelspec": {
253+
"display_name": "Python 3",
254+
"language": "python",
255+
"name": "python3"
256+
},
257+
"language_info": {
258+
"codemirror_mode": {
259+
"name": "ipython",
260+
"version": 3
261+
},
262+
"file_extension": ".py",
263+
"mimetype": "text/x-python",
264+
"name": "python",
265+
"nbconvert_exporter": "python",
266+
"pygments_lexer": "ipython3",
267+
"version": "3.6.2"
268+
}
269+
},
251270
"nbformat": 4,
252-
"nbformat_minor": 0
253-
}
271+
"nbformat_minor": 1
272+
}

0 commit comments

Comments
 (0)