code: def from_vertices(cls, data):
          
          try:
              from scipy.spatial import Delaunay
          except:
              raise ImportError("Generating triangles from points requires, "
                                "SciPy to be installed.")
          if not isinstance(data, Points):
              data = Points(data)
          if not len(data):
              return cls(([], []))
          tris = Delaunay(data.array([0, 1]))
          return cls((tris.simplices, data))
docs: Uses Delauney triangulation to compute triangle simplices for
          each point.