Skip to content

Commit

Permalink
Explicitly import triplot from firedrake
Browse files Browse the repository at this point in the history
  • Loading branch information
angus-g committed Feb 11, 2024
1 parent 260d64a commit e2ca340
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions 01-spd-helmholtz.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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."
]
},
{
Expand All @@ -131,7 +131,8 @@
"metadata": {},
"outputs": [],
"source": [
"from gadopt import *"
"from gadopt import *\n",
"from firedrake.pyplot import triplot, tripcolor"
]
},
{
Expand Down

0 comments on commit e2ca340

Please sign in to comment.