Skip to content

Commit dc51616

Browse files
committed
Minor updates to first 3 notebooks
1 parent 3adc881 commit dc51616

3 files changed

+6
-5
lines changed

00_intro_numerical_methods.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@
203203
"cell_type": "code",
204204
"execution_count": null,
205205
"metadata": {
206-
"hide_input": true,
206+
"hide_input": false,
207207
"slideshow": {
208208
"slide_type": "fragment"
209209
}

02_NumPy.ipynb

+2-1
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,8 @@
218218
"outputs": [],
219219
"source": [
220220
"my_vec = numpy.array([[1], [2]])\n",
221-
"print(my_vec,my_vec.shape)"
221+
"print(my_vec)\n",
222+
"print('my vec has shape:{}'.format(my_vec.shape))"
222223
]
223224
},
224225
{

03_matplotlib.ipynb

+3-3
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@
209209
"y = numpy.linspace(-1, 1, 100)\n",
210210
"X, Y = numpy.meshgrid(x, y)\n",
211211
"pi = numpy.pi\n",
212-
"F = numpy.sin(3*pi*X)*numpy.cos(2*pi*Y)"
212+
"F = numpy.sin(2*pi*X)*numpy.cos(3*pi*Y)"
213213
]
214214
},
215215
{
@@ -431,7 +431,7 @@
431431
"metadata": {
432432
"celltoolbar": "Slideshow",
433433
"kernelspec": {
434-
"display_name": "Python 3",
434+
"display_name": "Python 3 (ipykernel)",
435435
"language": "python",
436436
"name": "python3"
437437
},
@@ -445,7 +445,7 @@
445445
"name": "python",
446446
"nbconvert_exporter": "python",
447447
"pygments_lexer": "ipython3",
448-
"version": "3.8.8"
448+
"version": "3.11.7"
449449
},
450450
"latex_envs": {
451451
"bibliofile": "biblio.bib",

0 commit comments

Comments
 (0)