Skip to content

Commit a84bd3d

Browse files
committed
more alt text
1 parent aeff5a2 commit a84bd3d

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

content/05-scipy/scipy-exercises-2.ipynb

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
{
22
"cells": [
33
{
4-
"cell_type": "code",
5-
"execution_count": 1,
4+
"cell_type": "markdown",
65
"metadata": {},
7-
"outputs": [],
86
"source": [
9-
"import numpy as np\n",
10-
"import matplotlib.pyplot as plt"
7+
"# More SciPy Exercises"
118
]
129
},
1310
{
14-
"cell_type": "markdown",
11+
"cell_type": "code",
12+
"execution_count": 1,
1513
"metadata": {},
14+
"outputs": [],
1615
"source": [
17-
"# More SciPy Exercises"
16+
"import numpy as np\n",
17+
"import matplotlib.pyplot as plt"
1818
]
1919
},
2020
{
@@ -176,7 +176,8 @@
176176
],
177177
"source": [
178178
"plt.plot(x, noisy)\n",
179-
"plt.plot(x, orig)"
179+
"plt.plot(x, orig)\n",
180+
"# alt-text: a plot showing noisy sinusoidal and the original, un-noised data"
180181
]
181182
},
182183
{
@@ -299,7 +300,8 @@
299300
"source": [
300301
"plt.plot(t, restrict_theta(y[0,:]))\n",
301302
"plt.xlabel(\"t\")\n",
302-
"plt.ylabel(r\"$\\theta$\")"
303+
"plt.ylabel(r\"$\\theta$\")\n",
304+
"# alt-text: a plot showing many periods of a sinusoidal function"
303305
]
304306
},
305307
{
@@ -367,7 +369,7 @@
367369
"name": "python",
368370
"nbconvert_exporter": "python",
369371
"pygments_lexer": "ipython3",
370-
"version": "3.13.2"
372+
"version": "3.14.2"
371373
}
372374
},
373375
"nbformat": 4,

0 commit comments

Comments
 (0)