Skip to content

Commit 57b1fff

Browse files
committed
tidy import
1 parent d121e89 commit 57b1fff

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

firedrake/pyplot/mpl.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
import numpy as np
44
import numpy.random as randomgen
55

6-
from firedrake.function import PointEvaluator
76
try:
87
import matplotlib.pyplot as plt
98
except ModuleNotFoundError as e:
@@ -12,7 +11,6 @@
1211
"pip install matplotlib"
1312
) from e
1413
import matplotlib.colors
15-
import matplotlib.patches
1614
import matplotlib.tri
1715
from matplotlib.path import Path
1816
from matplotlib.lines import Line2D
@@ -21,7 +19,8 @@
2119
from mpl_toolkits.mplot3d.art3d import Line3DCollection, Poly3DCollection
2220
from math import factorial
2321
from firedrake import (Interpolate, sqrt, inner, Function, SpatialCoordinate,
24-
FunctionSpace, VectorFunctionSpace, Constant, assemble, dx)
22+
FunctionSpace, VectorFunctionSpace, Constant, assemble, dx,
23+
PointEvaluator)
2524
from firedrake.mesh import MeshGeometry, VertexOnlyMeshMissingPointsError
2625
from firedrake.petsc import PETSc
2726
from ufl.domain import extract_unique_domain

0 commit comments

Comments
 (0)