From 0513d967ef367666c28c41b46306dec489c1dd65 Mon Sep 17 00:00:00 2001 From: Mark Piper Date: Fri, 11 Aug 2023 17:10:33 +0000 Subject: [PATCH] Check links to notebooks --- lessons/python/advection.ipynb | 2 +- lessons/python/arrays.ipynb | 8 ++++---- lessons/python/functions.ipynb | 2 +- lessons/python/oop.ipynb | 1 + 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/lessons/python/advection.ipynb b/lessons/python/advection.ipynb index 2d6a85b..9e568b2 100644 --- a/lessons/python/advection.ipynb +++ b/lessons/python/advection.ipynb @@ -382,7 +382,7 @@ "$$\\frac{\\partial C}{\\partial t} = -v \\frac{\\partial C}{\\partial x} + D\\frac{\\delta^2 C}{\\delta x^2} \n", "\\label{eq:5}\\tag{5}$$\n", "\n", - "Copy-paste your script from the diffusion notebook. \n", + "Copy-paste your script from the [diffusion](./diffusion.ipynb) notebook. \n", "Adjust the script by adding advection.\n", "You can use the code derived in the previous blocks. \n", "\n", diff --git a/lessons/python/arrays.ipynb b/lessons/python/arrays.ipynb index 09fe497..4b779f2 100644 --- a/lessons/python/arrays.ipynb +++ b/lessons/python/arrays.ipynb @@ -113,7 +113,7 @@ "metadata": {}, "source": [ "NumPy arrays have an attribute\n", - "(this is an object-oriented programming term; more [later](7_oop.ipynb))\n", + "(this is an object-oriented programming term; more [later](oop.ipynb))\n", "called `shape` that provides the dimensions of an array.\n", "\n", "What is the shape of `a`?" @@ -251,7 +251,7 @@ "source": [ "## Indexing\n", "\n", - "NumPy arrays can be indexed in the manner described in the first lesson on [variables](1_fundamentals.ipynb)." + "NumPy arrays can be indexed in the manner described in the first lesson on [variables](fundamentals.ipynb)." ] }, { @@ -866,10 +866,10 @@ "\n", "The [NumPy documentation](https://numpy.org/doc/stable/index.html) contains just about anything you'll need to know about NumPy.\n", "\n", - "Last, although we deemphasize visualization here,\n", + "Although we deemphasize visualization in Ivy,\n", "it almost always really helps to visualize data.\n", "Data visualization is covered well in many other places,\n", - "but we do have a [notebook](./4a_plots.ipynb) demonstrating how to visualize the DEM data used here." + "but we do have a [notebook](./visualization.ipynb) demonstrating how to visualize the DEM data used here." ] } ], diff --git a/lessons/python/functions.ipynb b/lessons/python/functions.ipynb index d006218..14eb8db 100644 --- a/lessons/python/functions.ipynb +++ b/lessons/python/functions.ipynb @@ -13,7 +13,7 @@ "source": [ "# Functions\n", "\n", - "In the [diffusion](8_diffusion.ipynb) and [advection](9_advection.ipynb) notebooks,\n", + "In the [diffusion](diffusion.ipynb) and [advection](advection.ipynb) notebooks,\n", "we wrote code\n", "to solve the one-dimensional diffusion and advection equations numerically,\n", "evolve the solutions with time,\n", diff --git a/lessons/python/oop.ipynb b/lessons/python/oop.ipynb index 22032b8..cf558bb 100644 --- a/lessons/python/oop.ipynb +++ b/lessons/python/oop.ipynb @@ -209,6 +209,7 @@ "metadata": {}, "outputs": [], "source": [ + "# Uncomment the next line to try to create a Shape.\n", "# x = Shape()" ] },