Skip to content

Commit 4e6c238

Browse files
committed
Add error for triplot extruded
1 parent 4b764cb commit 4e6c238

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

firedrake/pyplot/mpl.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,9 @@ def triplot(mesh, axes=None, interior_kw={}, boundary_kw={}):
105105
BoundaryCollection, InteriorCollection = _get_collection_types(gdim, tdim)
106106
quad = mesh.ufl_cell().cellname() == "quadrilateral"
107107

108+
if mesh.extruded:
109+
raise NotImplementedError("Visualizing extruded meshes not implemented yet!")
110+
108111
if axes is None:
109112
figure = plt.figure()
110113
if gdim == 3:

0 commit comments

Comments
 (0)