persim
persim copied to clipboard
add pyplot savefig()
I am using Ripser.py alongside a Docker container running all the python stuff. This makes plotting tricky if at all possible. The workaround is simply to use pyplot.savefig() and save the plots as files.
This pull request is a naive and humble attempt to enable figure saving functionality to Ripser.py. Suggestions, edits and/ or corrections are welcome.
Codecov Report
Merging #25 into master will decrease coverage by
0.3%
. The diff coverage is0%
.
@@ Coverage Diff @@
## master #25 +/- ##
==========================================
- Coverage 80.03% 79.73% -0.31%
==========================================
Files 10 10
Lines 531 533 +2
Branches 105 106 +1
==========================================
Hits 425 425
- Misses 78 79 +1
- Partials 28 29 +1
Impacted Files | Coverage Δ | |
---|---|---|
persim/visuals.py | 57.94% <0%> (-1.11%) |
:arrow_down: |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update f8eb567...60c606e. Read the comment docs.