Skip to content

Commit

Permalink
[pre-commit.ci] Apply automatic pre-commit fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Sep 2, 2024
1 parent 4829436 commit be897a6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions testing/jupyterlab/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ You can run tests locally on your machine, or remotely in the cloud.
4. Once you have entered all the information, click on the **Run workflow** button.

[^1]: `main` is the default branch for JupyterLab hence this is the default value for the `ref` parameter.

[^2]: This is useful if you want to test the accessibility of a package that is not part of the JupyterLab repository. See the [Testing Changes to External Pages](https://jupyterlab.readthedocs.io/en/latest/developer/contributing.html#id17) section of JupyterLab's documentation for more information.

#### Inspecting the test results
Expand Down
6 changes: 3 additions & 3 deletions testing/notebooks/Lorenz.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
" ax.set_xlim((-25, 25))\n",
" ax.set_ylim((-35, 35))\n",
" ax.set_zlim((5, 55))\n",
" \n",
"\n",
" def lorenz_deriv(x_y_z, t0, sigma=sigma, beta=beta, rho=rho):\n",
" \"\"\"Compute the time-derivative of a Lorenz system.\"\"\"\n",
" x, y, z = x_y_z\n",
Expand All @@ -116,7 +116,7 @@
" t = np.linspace(0, max_time, int(250*max_time))\n",
" x_t = np.asarray([integrate.odeint(lorenz_deriv, x0i, t)\n",
" for x0i in x0])\n",
" \n",
"\n",
" # choose a different color for each trajectory\n",
" colors = plt.cm.viridis(np.linspace(0, 1, N))\n",
"\n",
Expand Down Expand Up @@ -160,7 +160,7 @@
"metadata": {},
"outputs": [],
"source": [
"w = interactive(solve_lorenz, angle=(0.,360.), max_time=(0.1, 4.0), \n",
"w = interactive(solve_lorenz, angle=(0.,360.), max_time=(0.1, 4.0),\n",
" N=(0,50), sigma=(0.0,50.0), rho=(0.0,50.0))\n",
"display(w)"
]
Expand Down

0 comments on commit be897a6

Please sign in to comment.