summaryrefslogtreecommitdiff
path: root/src/cython/example/sparse_rips_persistence_diagram.py
diff options
context:
space:
mode:
authorROUVREAU Vincent <vincent.rouvreau@inria.fr>2019-06-26 16:59:58 +0200
committerROUVREAU Vincent <vincent.rouvreau@inria.fr>2019-06-26 16:59:58 +0200
commitfd47a2d926e78d3b83e79da3c959fb73809d09e4 (patch)
treed440223947ae58fa06d15c575f08023902bad898 /src/cython/example/sparse_rips_persistence_diagram.py
parent2ffd579440e6f0158588f8fa905e2f1dc49a5158 (diff)
Format Python files with black
Diffstat (limited to 'src/cython/example/sparse_rips_persistence_diagram.py')
-rwxr-xr-xsrc/cython/example/sparse_rips_persistence_diagram.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/cython/example/sparse_rips_persistence_diagram.py b/src/cython/example/sparse_rips_persistence_diagram.py
index e58baf45..671d5e34 100755
--- a/src/cython/example/sparse_rips_persistence_diagram.py
+++ b/src/cython/example/sparse_rips_persistence_diagram.py
@@ -18,8 +18,9 @@ __license__ = "MIT"
print("#####################################################################")
print("Sparse RipsComplex creation from points")
-rips = gudhi.RipsComplex(points=[[0, 0], [0, 0.1], [1, 0], [0, 1], [1, 1]],
- max_edge_length=42, sparse=.5)
+rips = gudhi.RipsComplex(
+ points=[[0, 0], [0, 0.1], [1, 0], [0, 1], [1, 1]], max_edge_length=42, sparse=0.5
+)
simplex_tree = rips.create_simplex_tree(max_dimension=2)