summaryrefslogtreecommitdiff
path: root/src/python/doc/persistence_graphical_tools_user.rst
diff options
context:
space:
mode:
authorROUVREAU Vincent <vincent.rouvreau@inria.fr>2020-01-14 08:48:51 +0100
committerROUVREAU Vincent <vincent.rouvreau@inria.fr>2020-01-14 08:48:51 +0100
commit88c30209fe58d29d24d5bba3c137cd5e5def29c5 (patch)
treec7a3257ce01bd26b770bb39b508835843720fb5e /src/python/doc/persistence_graphical_tools_user.rst
parent23ccc50ab3608202452e44f287e4817ffa98227c (diff)
parent5533e1f16c99512ff1966b31ba8f121d37462f52 (diff)
Merge branch 'master' into print_warnings_to_stderr
Diffstat (limited to 'src/python/doc/persistence_graphical_tools_user.rst')
-rw-r--r--src/python/doc/persistence_graphical_tools_user.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python/doc/persistence_graphical_tools_user.rst b/src/python/doc/persistence_graphical_tools_user.rst
index f41a926b..80002db6 100644
--- a/src/python/doc/persistence_graphical_tools_user.rst
+++ b/src/python/doc/persistence_graphical_tools_user.rst
@@ -24,7 +24,7 @@ This function can display the persistence result as a barcode:
import gudhi
off_file = gudhi.__root_source_dir__ + '/data/points/tore3D_300.off'
- point_cloud = gudhi.read_off(off_file=off_file)
+ point_cloud = gudhi.read_points_from_off_file(off_file=off_file)
rips_complex = gudhi.RipsComplex(points=point_cloud, max_edge_length=0.7)
simplex_tree = rips_complex.create_simplex_tree(max_dimension=3)