diff options
author | Gard Spreemann <gspreemann@gmail.com> | 2017-10-08 11:15:17 +0200 |
---|---|---|
committer | Gard Spreemann <gspreemann@gmail.com> | 2017-10-08 11:15:17 +0200 |
commit | 866f6ce614e9c09c97fed12c8c0c2c9fb84fad3f (patch) | |
tree | 0c90eb9bab09ccc9785cdf2dc59f0ec861670b85 /cython/doc/pyplots/barcode_persistence.py | |
parent | 8d7329f3e5ad843e553c3c5503cecc28ef2eead6 (diff) |
GUDHI 2.0.1 as released by upstream in a tarball.upstream/2.0.1
Diffstat (limited to 'cython/doc/pyplots/barcode_persistence.py')
-rwxr-xr-x | cython/doc/pyplots/barcode_persistence.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/cython/doc/pyplots/barcode_persistence.py b/cython/doc/pyplots/barcode_persistence.py index c06ac5a7..de33d506 100755 --- a/cython/doc/pyplots/barcode_persistence.py +++ b/cython/doc/pyplots/barcode_persistence.py @@ -1,5 +1,7 @@ import gudhi -periodic_cc = gudhi.PeriodicCubicalComplex(perseus_file='../3d_torus.txt') +periodic_cc = gudhi.PeriodicCubicalComplex(perseus_file=gudhi.__root_source_dir__ + \ + '/data/bitmap/3d_torus.txt') diag = periodic_cc.persistence() -gudhi.plot_persistence_barcode(diag) +plt = gudhi.plot_persistence_barcode(diag) +plt.show() |