summaryrefslogtreecommitdiff
path: root/src/cython/doc/pyplots/barcode_persistence.py
diff options
context:
space:
mode:
authorvrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2017-09-07 13:17:19 +0000
committervrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2017-09-07 13:17:19 +0000
commitc15a3570fa54e837c27f0e5b862e7bb5c16302d7 (patch)
tree214da0987d296cc385bdf5f130ff209c0f0e569d /src/cython/doc/pyplots/barcode_persistence.py
parent94bf43f9d92f546837f5120379ffdc08bf274302 (diff)
Python documentation is now built from sources to the build directory.
Missing bibtex and images to be "as before" git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/cythonization_improvement@2649 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: 0deda91875e34ce534c88a601cfb167d9c7dfa01
Diffstat (limited to 'src/cython/doc/pyplots/barcode_persistence.py')
-rwxr-xr-xsrc/cython/doc/pyplots/barcode_persistence.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cython/doc/pyplots/barcode_persistence.py b/src/cython/doc/pyplots/barcode_persistence.py
index 9cd3149d..de33d506 100755
--- a/src/cython/doc/pyplots/barcode_persistence.py
+++ b/src/cython/doc/pyplots/barcode_persistence.py
@@ -1,6 +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()
plt = gudhi.plot_persistence_barcode(diag)
plt.show()