Skip to content

Commit baecaff

Browse files
committed
Add imports
1 parent 0c610ca commit baecaff

File tree

1 file changed

+28
-4
lines changed

1 file changed

+28
-4
lines changed

lectures/numpy_scipy_quiz.ipynb

+28-4
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,22 @@
1414
"If you run out of exercises, there are [100 more here!](http://www.loria.fr/~rougier/teaching/numpy.100/)"
1515
]
1616
},
17+
{
18+
"cell_type": "code",
19+
"execution_count": null,
20+
"metadata": {
21+
"collapsed": true
22+
},
23+
"outputs": [],
24+
"source": [
25+
"import numpy as np\n",
26+
"\n",
27+
"%matplotlib inline\n",
28+
"import matplotlib.pyplot as plt\n",
29+
"\n",
30+
"import scipy"
31+
]
32+
},
1733
{
1834
"cell_type": "markdown",
1935
"metadata": {},
@@ -154,7 +170,9 @@
154170
{
155171
"cell_type": "code",
156172
"execution_count": null,
157-
"metadata": {},
173+
"metadata": {
174+
"collapsed": true
175+
},
158176
"outputs": [],
159177
"source": [
160178
"# From https://commons.wikimedia.org/wiki/File:Rosenbrock_function.svg\n",
@@ -255,7 +273,9 @@
255273
{
256274
"cell_type": "code",
257275
"execution_count": null,
258-
"metadata": {},
276+
"metadata": {
277+
"collapsed": true
278+
},
259279
"outputs": [],
260280
"source": [
261281
"from skimage import draw\n",
@@ -297,7 +317,9 @@
297317
{
298318
"cell_type": "code",
299319
"execution_count": null,
300-
"metadata": {},
320+
"metadata": {
321+
"collapsed": true
322+
},
301323
"outputs": [],
302324
"source": [
303325
"from skimage import data, color, filters\n",
@@ -328,7 +350,9 @@
328350
{
329351
"cell_type": "code",
330352
"execution_count": null,
331-
"metadata": {},
353+
"metadata": {
354+
"collapsed": true
355+
},
332356
"outputs": [],
333357
"source": [
334358
"# Visualize sampling\n",

0 commit comments

Comments
 (0)