summaryrefslogtreecommitdiff
path: root/src/python/doc
diff options
context:
space:
mode:
authorVincent Rouvreau <10407034+VincentRouvreau@users.noreply.github.com>2022-05-09 22:11:56 +0200
committerGitHub <noreply@github.com>2022-05-09 22:11:56 +0200
commit7491d4b98d5629d4efd53253188698dae1d845d0 (patch)
treed8e97a82800efdb38dd801cc44c7ac363bf5925b /src/python/doc
parentb54540951b997b0e773d88b300772f36d35cde03 (diff)
parent79278cfc0aecbfdbf8a66e79ccef44534abb2399 (diff)
Merge pull request #504 from VincentRouvreau/persistence_graphical_tools_improvements
Persistence graphical tools improvements
Diffstat (limited to 'src/python/doc')
-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 d95b9d2b..e1d28c71 100644
--- a/src/python/doc/persistence_graphical_tools_user.rst
+++ b/src/python/doc/persistence_graphical_tools_user.rst
@@ -60,7 +60,7 @@ of shape (N x 2) encoding a persistence diagram (in a given dimension).
import matplotlib.pyplot as plt
import gudhi
import numpy as np
- d = np.array([[0, 1], [1, 2], [1, np.inf]])
+ d = np.array([[0., 1.], [1., 2.], [1., np.inf]])
gudhi.plot_persistence_diagram(d)
plt.show()