Skip to content

Commit

Permalink
Merge 316a609 into 9812460
Browse files Browse the repository at this point in the history
  • Loading branch information
almarklein committed Jul 8, 2014
2 parents 9812460 + 316a609 commit ba17688
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vispy/util/geometry/polygon.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
# -----------------------------------------------------------------------------

import numpy as np
from scipy.spatial import Delaunay


class PolygonData(object):
Expand Down Expand Up @@ -113,6 +112,7 @@ def triangulate(self):
Triangulates the set of vertices and stores the triangles in faces and
the convex hull in convex_hull.
"""
from scipy.spatial import Delaunay
if self._vertices is None:
return
pos2 = np.delete(self._vertices, 2, 1)
Expand Down

0 comments on commit ba17688

Please sign in to comment.