Skip to content

Commit a1618cb

Browse files
authored
Create test_interactief.ipynb
1 parent 8e06760 commit a1618cb

1 file changed

Lines changed: 48 additions & 0 deletions

File tree

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
{
2+
"cells": [
3+
{
4+
"cell_type": "markdown",
5+
"metadata": {},
6+
"source": [
7+
"# Testpagina voor JupyterLite \n",
8+
"Als het goed is, zie je rechtsboven een **raket-icoontje**. \n",
9+
"1. Klik op de raket.\n",
10+
"2. Kies **JupyterLite**.\n",
11+
"3. Wacht tot de cel hieronder veranderd in een interactieve box."
12+
]
13+
},
14+
{
15+
"cell_type": "code",
16+
"execution_count": null,
17+
"metadata": {},
18+
"outputs": [],
19+
"source": [
20+
"import numpy as np\n",
21+
"import matplotlib.pyplot as plt\n",
22+
"\n",
23+
"print(\"Hallo! Als je dit ziet, werkt Python in je browser!\")\n",
24+
"\n",
25+
"# Een klein grafiekje om de bibliotheken te testen\n",
26+
"x = np.linspace(0, 10, 100)\n",
27+
"y = np.sin(x)\n",
28+
"\n",
29+
"plt.plot(x, y)\n",
30+
"plt.title(\"Sinus golf\")\n",
31+
"plt.show()"
32+
]
33+
}
34+
],
35+
"metadata": {
36+
"kernelspec": {
37+
"display_name": "Python 3",
38+
"language": "python",
39+
"name": "python3"
40+
},
41+
"language_info": {
42+
"name": "python",
43+
"version": "3.8"
44+
}
45+
},
46+
"nbformat": 4,
47+
"nbformat_minor": 4
48+
}

0 commit comments

Comments
 (0)