diff options
author | ROUVREAU Vincent <vincent.rouvreau@inria.fr> | 2020-01-13 09:55:01 +0100 |
---|---|---|
committer | ROUVREAU Vincent <vincent.rouvreau@inria.fr> | 2020-01-13 09:55:01 +0100 |
commit | b6e1d3025e27eed08eb8a1c5f95a80d6c6a9ce15 (patch) | |
tree | 5ada1e558644fcd8fea02d6156901b54cafdbfbd /src/python/example/plot_rips_complex.py | |
parent | f61d7c2c9f1148ee1bc749d1f7007f5c01f4ffb4 (diff) |
Fix #194 : Rename read_off as it only read points from OFF file
Diffstat (limited to 'src/python/example/plot_rips_complex.py')
-rwxr-xr-x | src/python/example/plot_rips_complex.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python/example/plot_rips_complex.py b/src/python/example/plot_rips_complex.py index 1c878db1..214a3c0a 100755 --- a/src/python/example/plot_rips_complex.py +++ b/src/python/example/plot_rips_complex.py @@ -2,7 +2,7 @@ import numpy as np import gudhi -points = np.array(gudhi.read_off('../../data/points/Kl.off')) +points = np.array(gudhi.read_points_from_off_file('../../data/points/Kl.off')) rc = gudhi.RipsComplex(points=points, max_edge_length=.2) st = rc.create_simplex_tree(max_dimension=2) # We are only going to plot the triangles |