diff --git a/examples/Interactive Widgets/Lorenz Differential Equations.ipynb b/examples/Interactive Widgets/Lorenz Differential Equations.ipynb index 4fdfac4..1a3deca 100644 --- a/examples/Interactive Widgets/Lorenz Differential Equations.ipynb +++ b/examples/Interactive Widgets/Lorenz Differential Equations.ipynb @@ -111,8 +111,9 @@ " ax.set_ylim((-35, 35))\n", " ax.set_zlim((5, 55))\n", " \n", - " def lorenz_deriv((x, y, z), t0, sigma=sigma, beta=beta, rho=rho):\n", - " \"\"\"Compute the time-derivative of a Lorentz system.\"\"\"\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", " return [sigma * (y - x), x * (rho - z) - y, x * y - beta * z]\n", "\n", " # Choose random starting points, uniformly distributed from -15 to 15\n", @@ -13428,7 +13429,24 @@ ] } ], - "metadata": {}, + "metadata": { + "kernelspec": { + "display_name": "Python 3", + "name": "python3" + }, + "language_info": { + "codemirror_mode": { + "name": "ipython", + "version": 3 + }, + "file_extension": ".py", + "mimetype": "text/x-python", + "name": "python", + "nbconvert_exporter": "python", + "pygments_lexer": "ipython3", + "version": "3.4.2" + } + }, "nbformat": 4, "nbformat_minor": 0 -} \ No newline at end of file +}