diff options
author | ROUVREAU Vincent <vincent.rouvreau@inria.fr> | 2020-11-04 09:04:19 +0100 |
---|---|---|
committer | ROUVREAU Vincent <vincent.rouvreau@inria.fr> | 2020-11-04 09:04:19 +0100 |
commit | eb8164b76a062fe510a9281bfebfa34f66c72163 (patch) | |
tree | 3d3b8adb5c431011387c0bba637707344d0780cb /src/python/example/tangential_complex_plain_homology_from_off_file_example.py | |
parent | 218be4f4c88f94c2c281cce16d5a9cd41fdd2fd8 (diff) | |
parent | 6811a26e8b45ba4fde5ad3268d0eb07d3070a349 (diff) |
Merge branch 'master' into coxeter_integration
Diffstat (limited to 'src/python/example/tangential_complex_plain_homology_from_off_file_example.py')
-rwxr-xr-x | src/python/example/tangential_complex_plain_homology_from_off_file_example.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python/example/tangential_complex_plain_homology_from_off_file_example.py b/src/python/example/tangential_complex_plain_homology_from_off_file_example.py index 85bade4a..a4b4e9f5 100755 --- a/src/python/example/tangential_complex_plain_homology_from_off_file_example.py +++ b/src/python/example/tangential_complex_plain_homology_from_off_file_example.py @@ -3,7 +3,6 @@ import argparse import errno import os -import matplotlib.pyplot as plot import gudhi """ This file is part of the Gudhi Library - https://gudhi.inria.fr/ - @@ -62,6 +61,7 @@ with open(args.file, "r") as f: print(st.betti_numbers()) if args.no_diagram == False: + import matplotlib.pyplot as plot gudhi.plot_persistence_diagram(diag, band=args.band) plot.show() else: |