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

[Python - persistence_graphical_tools] Exception or nothing to display on empty diagrams #461

Closed
VincentRouvreau opened this issue Mar 15, 2021 · 0 comments · Fixed by #504
Labels
3.6.0 GUDHI version 3.6.0

Comments

@VincentRouvreau
Copy link
Contributor

import gudhi as gd
gd.plot_persistence_diagram([[], [], [], []])
  got: IndexError: list index out of range
  expected: An empty persistence diagram

The same for plot_persistence_density and plot_persistence_barcode

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.6.0 GUDHI version 3.6.0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant