summaryrefslogtreecommitdiff
path: root/src/python/doc/witness_complex_user.rst
diff options
context:
space:
mode:
authorVincent Rouvreau <10407034+VincentRouvreau@users.noreply.github.com>2020-01-13 17:35:31 +0100
committerGitHub <noreply@github.com>2020-01-13 17:35:31 +0100
commitff0a45b711288e788088a1db810e50178086f2d8 (patch)
treeb5b6883337c57f2553bc77068dc04b7b19388767 /src/python/doc/witness_complex_user.rst
parent336b9412fe89fb0f5bd179e31f865d6cd57abf77 (diff)
parentb6e1d3025e27eed08eb8a1c5f95a80d6c6a9ce15 (diff)
Merge pull request #198 from VincentRouvreau/python_read_off_rename
Fix #194 : Rename read_off as it only read points from OFF file
Diffstat (limited to 'src/python/doc/witness_complex_user.rst')
-rw-r--r--src/python/doc/witness_complex_user.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python/doc/witness_complex_user.rst b/src/python/doc/witness_complex_user.rst
index 45ba5b3b..7087fa98 100644
--- a/src/python/doc/witness_complex_user.rst
+++ b/src/python/doc/witness_complex_user.rst
@@ -101,7 +101,7 @@ Let's start with a simple example, which reads an off point file and computes a
print("#####################################################################")
print("EuclideanWitnessComplex creation from points read in a OFF file")
- witnesses = gudhi.read_off(off_file=args.file)
+ witnesses = gudhi.read_points_from_off_file(off_file=args.file)
landmarks = gudhi.pick_n_random_points(points=witnesses, nb_points=args.number_of_landmarks)
message = "EuclideanWitnessComplex with max_edge_length=" + repr(args.max_alpha_square) + \