From 95330fb658db4184813d8720c52da5e25bcdd38c Mon Sep 17 00:00:00 2001 From: Marc Glisse Date: Fri, 4 Nov 2022 11:01:43 +0100 Subject: Mention SciPy version in the doc --- src/python/doc/installation.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/python/doc') diff --git a/src/python/doc/installation.rst b/src/python/doc/installation.rst index b704f778..276ac4e2 100644 --- a/src/python/doc/installation.rst +++ b/src/python/doc/installation.rst @@ -391,7 +391,7 @@ The :doc:`persistence graphical tools ` and mathematics, science, and engineering. :class:`~gudhi.point_cloud.knn.KNearestNeighbors` can use the Python package -`SciPy `_ as a backend if explicitly requested. +`SciPy `_ :math:`\geq` 1.6.0 as a backend if explicitly requested. TensorFlow ---------- -- cgit v1.2.3 From 454ef5370d5a188cd303c497ed473df9aac81708 Mon Sep 17 00:00:00 2001 From: Marc Glisse Date: Fri, 4 Nov 2022 23:02:56 +0100 Subject: Use fetch_spiral_2d in the doc --- src/python/doc/clustering.rst | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/python/doc') 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() -- cgit v1.2.3