Skip to content

Commit dd8bfec

Browse files
committed
update config files
1 parent 47f0af9 commit dd8bfec

File tree

4 files changed

+23
-3
lines changed

4 files changed

+23
-3
lines changed

content/notebooks/Lorenz.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"from matplotlib import pyplot as plt\n",
2727
"from scipy import integrate\n",
2828
"\n",
29-
"from ipywidgets import interactive, fixed"
29+
"from ipywidgets import interactive"
3030
]
3131
},
3232
{
@@ -58,7 +58,7 @@
5858
" ax.set_xlim((-25, 25))\n",
5959
" ax.set_ylim((-35, 35))\n",
6060
" ax.set_zlim((5, 55))\n",
61-
" \n",
61+
"\n",
6262
" def lorenz_deriv(x_y_z, t0, sigma=sigma, beta=beta, rho=rho):\n",
6363
" \"\"\"Compute the time-derivative of a Lorenz system.\"\"\"\n",
6464
" x, y, z = x_y_z\n",
@@ -72,7 +72,7 @@
7272
" t = np.linspace(0, max_time, int(250*max_time))\n",
7373
" x_t = np.asarray([integrate.odeint(lorenz_deriv, x0i, t)\n",
7474
" for x0i in x0])\n",
75-
" \n",
75+
"\n",
7676
" # choose a different color for each trajectory\n",
7777
" colors = plt.cm.viridis(np.linspace(0, 1, N))\n",
7878
"\n",

environment-python.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: xeus-python-kernel
2+
channels:
3+
- https://repo.prefix.dev/emscripten-forge-dev
4+
- https://repo.prefix.dev/conda-forge
5+
dependencies:
6+
- xeus-python
7+
- numpy
8+
- matplotlib
9+
- pillow
10+
- ipywidgets>=8.1.6
11+
- ipyleaflet
12+
- scipy
File renamed without changes.

jupyter_lite_build.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"XeusAddon": {
3+
"environment_file": [
4+
"environment-python.yml",
5+
"environment-r.yml"
6+
]
7+
}
8+
}

0 commit comments

Comments
 (0)