-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
added better visu #69
Conversation
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
Tuto-GUDHI-cover-complex.ipynb
Outdated
@@ -1062,7 +1062,7 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Vincent did something in #68 to hide these messages until GUDHI/gudhi-devel#882 is fixed.
Reply via ReviewNB
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What I am proposing is to add at the beginning of the notebook:
# Add some verbosity to cover complexes methods
verbose=False
Then everywhere it is used, like:
cover_complex = GraphInducedComplex(
input_type='point cloud', cover='voronoi', min_points_per_node=0,
graph="rips", rips_threshold=None, N=100, beta=0., C=10,
voronoi_samples=100, verbose=verbose) # Notice the 'verbose=verbose' - could be named differently
Like that, we can deactivate the verbosity (by default) on the notebook, and reactivate it in debug phase.
Like that we won't have the too long lines like:
10%
...
100%
...
Computing geodesic distances to seed 0...
...
Computing geodesic distances to seed 99...
...
Some of the visualizations won't be visible on github, but that sounds ok. |
I tried locally, but I have another error. |
OK I tried something else for 3D visu with equal axes, hopefully it works now |
Yes, it now works fine for me. It seems the error is a timeout error, cf. this stckoverflow. Not to be fixed on this PR, I will try something on another PR |
Added a few cells to improve visualization in cover complex notebook (better scaling in 3D scatter plot + interactive visu of cover complex)