Skip to content

Commit e2ca340

Browse files
committed
Explicitly import triplot from firedrake
1 parent 260d64a commit e2ca340

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

01-spd-helmholtz.ipynb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@
122122
"cell_type": "markdown",
123123
"metadata": {},
124124
"source": [
125-
"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"
125+
"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."
126126
]
127127
},
128128
{
@@ -131,7 +131,8 @@
131131
"metadata": {},
132132
"outputs": [],
133133
"source": [
134-
"from gadopt import *"
134+
"from gadopt import *\n",
135+
"from firedrake.pyplot import triplot, tripcolor"
135136
]
136137
},
137138
{

0 commit comments

Comments
 (0)