Commit 9078afc3 authored by Tiago Peixoto's avatar Tiago Peixoto
Browse files

Fix trivial bug in the example of triangulation()

parent 90dce61e
......@@ -577,7 +577,7 @@ def triangulation(points, type="simple", periodic=False):
--------
>>> from numpy.random import seed, random
>>> seed(42)
>>> points = random((500,2))
>>> points = random((500,2))*4
>>> g, pos = gt.triangulation(points)
>>> weight = g.new_edge_property("double") # Edge weights corresponding to
... # Euclidean distances
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment