Skip to content

Commit be897a6

Browse files
[pre-commit.ci] Apply automatic pre-commit fixes
1 parent 4829436 commit be897a6

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

Diff for: testing/jupyterlab/README.md

+1
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ You can run tests locally on your machine, or remotely in the cloud.
4949
4. Once you have entered all the information, click on the **Run workflow** button.
5050

5151
[^1]: `main` is the default branch for JupyterLab hence this is the default value for the `ref` parameter.
52+
5253
[^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.
5354

5455
#### Inspecting the test results

Diff for: testing/notebooks/Lorenz.ipynb

+3-3
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@
102102
" ax.set_xlim((-25, 25))\n",
103103
" ax.set_ylim((-35, 35))\n",
104104
" ax.set_zlim((5, 55))\n",
105-
" \n",
105+
"\n",
106106
" def lorenz_deriv(x_y_z, t0, sigma=sigma, beta=beta, rho=rho):\n",
107107
" \"\"\"Compute the time-derivative of a Lorenz system.\"\"\"\n",
108108
" x, y, z = x_y_z\n",
@@ -116,7 +116,7 @@
116116
" t = np.linspace(0, max_time, int(250*max_time))\n",
117117
" x_t = np.asarray([integrate.odeint(lorenz_deriv, x0i, t)\n",
118118
" for x0i in x0])\n",
119-
" \n",
119+
"\n",
120120
" # choose a different color for each trajectory\n",
121121
" colors = plt.cm.viridis(np.linspace(0, 1, N))\n",
122122
"\n",
@@ -160,7 +160,7 @@
160160
"metadata": {},
161161
"outputs": [],
162162
"source": [
163-
"w = interactive(solve_lorenz, angle=(0.,360.), max_time=(0.1, 4.0), \n",
163+
"w = interactive(solve_lorenz, angle=(0.,360.), max_time=(0.1, 4.0),\n",
164164
" N=(0,50), sigma=(0.0,50.0), rho=(0.0,50.0))\n",
165165
"display(w)"
166166
]

0 commit comments

Comments
 (0)