Skip to content
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

Tuto-GUDHI-DTM-filtrations.ipynb: axes handle is not correct #8

Open
VincentRouvreau opened this issue Jan 28, 2020 · 0 comments · May be fixed by #78
Open

Tuto-GUDHI-DTM-filtrations.ipynb: axes handle is not correct #8

VincentRouvreau opened this issue Jan 28, 2020 · 0 comments · May be fixed by #78

Comments

@VincentRouvreau
Copy link
Contributor

With gudhi 3.1.0, the axes shall not be handled this way:

' Usual Rips complex on X '
st_rips = gudhi.RipsComplex(X).create_simplex_tree(max_dimension=2) # create a Rips complex     
diagram_rips = st_rips.persistence()                                # compute the persistence

# plot the persistence diagram
fig, ax = plt.subplots()
gudhi.plot_persistence_diagram(diagram_rips)                    
ax.set_title('Persistence diagram of the Rips complex')

It is better to do:

# plot the persistence diagram
gudhi.plot_persistence_diagram(diagram_rips)                    
plt.title('Persistence diagram of the Rips complex')

For axes management, cf. persistence density documentation

VincentRouvreau added a commit to VincentRouvreau/TDA-tutorial that referenced this issue Dec 20, 2024
@VincentRouvreau VincentRouvreau linked a pull request Dec 20, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant