summaryrefslogtreecommitdiff
path: root/cython/example/rips_persistence_diagram.py
diff options
context:
space:
mode:
authorGard Spreemann <gspreemann@gmail.com>2017-10-09 10:47:31 +0200
committerGard Spreemann <gspreemann@gmail.com>2017-10-09 10:47:31 +0200
commit673b6bb63befd7e591e52c13f43e5db53e5b29bd (patch)
tree3f15d96ef39bf0c6cf656d176ff1c437cacf5988 /cython/example/rips_persistence_diagram.py
parent9466ce44e348487fc04a1fda493ed659ae92b775 (diff)
parent866f6ce614e9c09c97fed12c8c0c2c9fb84fad3f (diff)
Merge tag 'upstream/2.0.1' into dfsg/latest
Upstream's 2.0.1 release.
Diffstat (limited to 'cython/example/rips_persistence_diagram.py')
-rwxr-xr-xcython/example/rips_persistence_diagram.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/cython/example/rips_persistence_diagram.py b/cython/example/rips_persistence_diagram.py
index 4e5cd2c8..9bfea41c 100755
--- a/cython/example/rips_persistence_diagram.py
+++ b/cython/example/rips_persistence_diagram.py
@@ -39,4 +39,5 @@ simplex_tree = rips.create_simplex_tree(max_dimension=1)
diag = simplex_tree.persistence(homology_coeff_field=2, min_persistence=0)
print("diag=", diag)
-gudhi.plot_persistence_diagram(diag)
+pplot = gudhi.plot_persistence_diagram(diag)
+pplot.show()