summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Glisse <marc.glisse@inria.fr>2020-11-10 00:55:34 +0100
committerMarc Glisse <marc.glisse@inria.fr>2020-11-10 00:55:34 +0100
commitb4df19e0555c0b60c4f074ed0baf642a7d1bdc8b (patch)
tree681a437e0daea952849bbaf4cddac87d0a57389a
parent911b589081831c98040448c489264fabfe8b5558 (diff)
Revert change to the example
It would require updating the figure.
-rw-r--r--src/python/doc/bottleneck_distance_user.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/python/doc/bottleneck_distance_user.rst b/src/python/doc/bottleneck_distance_user.rst
index 2c74c6dd..7baa76cc 100644
--- a/src/python/doc/bottleneck_distance_user.rst
+++ b/src/python/doc/bottleneck_distance_user.rst
@@ -35,19 +35,19 @@ The following example explains how the distance is computed:
import gudhi
- message = "Bottleneck distance = " + '%.1f' % gudhi.bottleneck_distance([[0., 2.]], [[1., 13.]])
+ message = "Bottleneck distance = " + '%.1f' % gudhi.bottleneck_distance([[0., 0.]], [[0., 13.]])
print(message)
.. testoutput::
- Bottleneck distance = 6.0
+ Bottleneck distance = 6.5
.. figure::
../../doc/Bottleneck_distance/bottleneck_distance_example.png
:figclass: align-center
- The point (1, 13) is at distance 6 from the diagonal and more
- specifically from the point (7, 7).
+ The point (0, 13) is at distance 6.5 from the diagonal and more
+ specifically from the point (6.5, 6.5).
Basic example