Closed tmelorc closed 4 years ago
Just to inform, it works if remove import persim.plot
and replace ripser.plot_dgms
by persim.plot_diagrams
.
It would be good to update documentation.
Thanks for catching this, it would be really helpful if you could submit a PR with the doc changes!
Thanks for catching this, it would be really helpful if you could submit a PR with the doc changes!
I'm not sure if I can use Git but I'll do my best to collaborate. Thanks.
So, I'm trying to do a PR. I'm not sure if it will work. Please, when you can, check if it works.
Yes, it worked as is merged #34. Thank you!
I got error in line 15. What is wrong there ? Thanks
---> 15 persim.landscapes.plot_diagrams(dgms_H1, title="Persistence Diagram of H1", ax=axs[0]) 16 17 persim.landscapes.plot_diagrams(dgms_DR1, title="Persistence Diagram of D1", ax=axs[1])
AttributeError: module 'persim' has no attribute 'landscapes'
I got error in line 15. What is wrong there ? Thanks
---> 15 persim.landscapes.plot_diagrams(dgms_H1, title="Persistence Diagram of H1", ax=axs[0]) 16 17 persim.landscapes.plot_diagrams(dgms_DR1, title="Persistence Diagram of D1", ax=axs[1])
AttributeError: module 'persim' has no attribute 'landscapes'
I am also getting same error, @FaisalAhmed77 did you get solution for this error?
When I run the Example Plots for Torus vs Sphere code, got an error.
AttributeError: module 'persim' has no attribute 'landscapes'
Any idea how to solve this?
I'm using Python 3.8 and I have these:
The code below from http://persim.scikit-tda.org/notebooks/distances.html
gives the error
ModuleNotFoundError: No module named 'persim.plot'
Removing the
import persim.plot
the errorappears when calling
ripser.plot_dgms()
.Any idea how to solve it? Maybe documentation is outdated?
Code