summaryrefslogtreecommitdiff
path: root/src/python/doc
diff options
context:
space:
mode:
authorMathieuCarriere <mathieu.carriere3@gmail.com>2022-11-10 12:03:00 +0100
committerMathieuCarriere <mathieu.carriere3@gmail.com>2022-11-10 12:03:00 +0100
commit939671ea085de4527e0f33a9a7233d8243ff7c08 (patch)
treeffb6f34c51efe82cd8e3181b9aff1e13061ad873 /src/python/doc
parent85a93e6432771b7439ea7e2403dc702a66481033 (diff)
parentc47d7ed4537a2fb011eb43e265c777f8581ee9a3 (diff)
Merge branch 'master' of https://github.com/GUDHI/gudhi-devel into perslay
Diffstat (limited to 'src/python/doc')
-rw-r--r--src/python/doc/clustering.rst5
-rw-r--r--src/python/doc/installation.rst2
2 files changed, 3 insertions, 4 deletions
diff --git a/src/python/doc/clustering.rst b/src/python/doc/clustering.rst
index c5a57d3c..62422682 100644
--- a/src/python/doc/clustering.rst
+++ b/src/python/doc/clustering.rst
@@ -17,9 +17,8 @@ As a by-product, we produce the persistence diagram of the merge tree of the ini
:include-source:
import gudhi
- f = open(gudhi.__root_source_dir__ + '/data/points/spiral_2d.csv', 'r')
- import numpy as np
- data = np.loadtxt(f)
+ from gudhi.datasets.remote import fetch_spiral_2d
+ data = fetch_spiral_2d()
import matplotlib.pyplot as plt
plt.scatter(data[:,0],data[:,1],marker='.',s=1)
plt.show()
diff --git a/src/python/doc/installation.rst b/src/python/doc/installation.rst
index 50ddabfe..d5dfefd7 100644
--- a/src/python/doc/installation.rst
+++ b/src/python/doc/installation.rst
@@ -399,7 +399,7 @@ The :doc:`persistence graphical tools </persistence_graphical_tools_user>` and
mathematics, science, and engineering.
:class:`~gudhi.point_cloud.knn.KNearestNeighbors` can use the Python package
-`SciPy <http://scipy.org>`_ as a backend if explicitly requested.
+`SciPy <http://scipy.org>`_ :math:`\geq` 1.6.0 as a backend if explicitly requested.
TensorFlow
----------