Skip to content

Commit 5a61e17

Browse files
committed
Fix up notebook LoktaVolterraTutorial.ipynb
1 parent bb1ce14 commit 5a61e17

File tree

1 file changed

+14
-59
lines changed

1 file changed

+14
-59
lines changed

ipython/LoktaVolterraTutorial.ipynb

Lines changed: 14 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
},
7171
{
7272
"cell_type": "code",
73-
"execution_count": 1,
73+
"execution_count": null,
7474
"metadata": {
7575
"collapsed": false
7676
},
@@ -103,22 +103,11 @@
103103
},
104104
{
105105
"cell_type": "code",
106-
"execution_count": 2,
106+
"execution_count": null,
107107
"metadata": {
108108
"collapsed": false
109109
},
110-
"outputs": [
111-
{
112-
"data": {
113-
"text/plain": [
114-
"True"
115-
]
116-
},
117-
"execution_count": 2,
118-
"metadata": {},
119-
"output_type": "execute_result"
120-
}
121-
],
110+
"outputs": [],
122111
"source": [
123112
"#!python\n",
124113
"X_f0 = array([ 0. , 0.])\n",
@@ -139,7 +128,7 @@
139128
},
140129
{
141130
"cell_type": "code",
142-
"execution_count": 3,
131+
"execution_count": null,
143132
"metadata": {
144133
"collapsed": false
145134
},
@@ -161,7 +150,7 @@
161150
},
162151
{
163152
"cell_type": "code",
164-
"execution_count": 4,
153+
"execution_count": null,
165154
"metadata": {
166155
"collapsed": false
167156
},
@@ -185,7 +174,7 @@
185174
},
186175
{
187176
"cell_type": "code",
188-
"execution_count": 5,
177+
"execution_count": null,
189178
"metadata": {
190179
"collapsed": false
191180
},
@@ -215,22 +204,11 @@
215204
},
216205
{
217206
"cell_type": "code",
218-
"execution_count": 6,
207+
"execution_count": null,
219208
"metadata": {
220209
"collapsed": false
221210
},
222-
"outputs": [
223-
{
224-
"data": {
225-
"text/plain": [
226-
"'Integration successful.'"
227-
]
228-
},
229-
"execution_count": 6,
230-
"metadata": {},
231-
"output_type": "execute_result"
232-
}
233-
],
211+
"outputs": [],
234212
"source": [
235213
"#!python\n",
236214
"from scipy import integrate\n",
@@ -253,7 +231,7 @@
253231
},
254232
{
255233
"cell_type": "code",
256-
"execution_count": 7,
234+
"execution_count": null,
257235
"metadata": {
258236
"collapsed": false
259237
},
@@ -295,7 +273,7 @@
295273
},
296274
{
297275
"cell_type": "code",
298-
"execution_count": 8,
276+
"execution_count": null,
299277
"metadata": {
300278
"collapsed": false
301279
},
@@ -364,23 +342,11 @@
364342
},
365343
{
366344
"cell_type": "code",
367-
"execution_count": 9,
345+
"execution_count": null,
368346
"metadata": {
369347
"collapsed": false
370348
},
371-
"outputs": [
372-
{
373-
"name": "stdout",
374-
"output_type": "stream",
375-
"text": [
376-
"X0=( 6, 3) => I ~ 20.8 |delta = 6.19E-05 %\n",
377-
"X0=( 9, 4) => I ~ 39.4 |delta = 2.67E-05 %\n",
378-
"X0=(12, 6) => I ~ 55.7 |delta = 1.82E-05 %\n",
379-
"X0=(15, 8) => I ~ 66.8 |delta = 1.12E-05 %\n",
380-
"X0=(18, 9) => I ~ 72.4 |delta = 4.68E-06 %\n"
381-
]
382-
}
383-
],
349+
"outputs": [],
384350
"source": [
385351
"#!python\n",
386352
"def IF(X):\n",
@@ -411,22 +377,11 @@
411377
},
412378
{
413379
"cell_type": "code",
414-
"execution_count": 10,
380+
"execution_count": null,
415381
"metadata": {
416382
"collapsed": false
417383
},
418-
"outputs": [
419-
{
420-
"name": "stderr",
421-
"output_type": "stream",
422-
"text": [
423-
"/home/squiba/anaconda2/lib/python2.7/site-packages/matplotlib/text.py:52: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal\n",
424-
" if rotation in ('horizontal', None):\n",
425-
"/home/squiba/anaconda2/lib/python2.7/site-packages/matplotlib/text.py:54: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal\n",
426-
" elif rotation == 'vertical':\n"
427-
]
428-
}
429-
],
384+
"outputs": [],
430385
"source": [
431386
"#!python\n",
432387
"#-------------------------------------------------------\n",

0 commit comments

Comments
 (0)