From 3e6ed773a62fe267d769a658f11004ac79e5de36 Mon Sep 17 00:00:00 2001 From: Angus Gibson Date: Mon, 12 Feb 2024 09:44:04 +1100 Subject: [PATCH] Explicitly import triplot from firedrake --- 01-spd-helmholtz.ipynb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/01-spd-helmholtz.ipynb b/01-spd-helmholtz.ipynb index dbef946..bc85e9a 100644 --- a/01-spd-helmholtz.ipynb +++ b/01-spd-helmholtz.ipynb @@ -122,7 +122,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "To start, we must make Firedrake available in the notebook. It is available as a normal Python package, named `firedrake`. To save on typing, we will import all of the public API into the current namespace" + "To start, we must make Firedrake available in the notebook. We will import it through the `gadopt` package. To save on typing, we will import all of the public API into the current namespace. For plotting within this notebook, we also explicitly import the `triplot` function." ] }, { @@ -131,7 +131,8 @@ "metadata": {}, "outputs": [], "source": [ - "from gadopt import *" + "from gadopt import *\n", + "from firedrake.pyplot import triplot" ] }, {