diff --git a/docs/source/tutorials/mass_wasting_runout/landslide_runout_animation.ipynb b/docs/source/tutorials/mass_wasting_runout/landslide_runout_animation.ipynb index 36cdd41f10..dc0beeb315 100644 --- a/docs/source/tutorials/mass_wasting_runout/landslide_runout_animation.ipynb +++ b/docs/source/tutorials/mass_wasting_runout/landslide_runout_animation.ipynb @@ -485,6 +485,8 @@ "outputs": [], "source": [ "# update function\n", + "\n", + "\n", "def update_plot(frame_number, MWR, plot):\n", " mg.at_node[\"dem_dif_m\"] = (\n", " MWR.saver.runout_evo_maps[0][frame_number]\n", diff --git a/docs/source/tutorials/river_flow_dynamics/river_flow_dynamics_tutorial2.ipynb b/docs/source/tutorials/river_flow_dynamics/river_flow_dynamics_tutorial2.ipynb index 9bca504c04..1b831118c7 100644 --- a/docs/source/tutorials/river_flow_dynamics/river_flow_dynamics_tutorial2.ipynb +++ b/docs/source/tutorials/river_flow_dynamics/river_flow_dynamics_tutorial2.ipynb @@ -45,8 +45,9 @@ "metadata": {}, "outputs": [], "source": [ - "import numpy as np\n", "import matplotlib.pyplot as plt\n", + "import numpy as np\n", + "\n", "from landlab import RasterModelGrid\n", "from landlab.components import RiverFlowDynamics # Note: Using updated CamelCase naming\n", "from landlab.io import read_esri_ascii\n", @@ -312,7 +313,7 @@ "outputs": [], "source": [ "plt.figure(figsize=(12, 4))\n", - "plt.plot(flow_depth, label='Simulated')\n", + "plt.plot(flow_depth, label=\"Simulated\")\n", "plt.title(\"Flow Depth Along Channel Centerline\")\n", "plt.xlabel(\"Distance (cells)\")\n", "plt.ylabel(\"Depth (m)\")\n", @@ -338,7 +339,7 @@ "flow_velocity = grid[\"link\"][\"surface_water__velocity\"][linksAtCenter]\n", "\n", "plt.figure(figsize=(12, 4))\n", - "plt.plot(flow_velocity, label='Simulated')\n", + "plt.plot(flow_velocity, label=\"Simulated\")\n", "plt.title(\"Flow Velocity Along Channel Centerline\")\n", "plt.xlabel(\"Distance (cells)\")\n", "plt.ylabel(\"Velocity (m/s)\")\n",