georgebv / pyextremes

Extreme Value Analysis (EVA) in Python
https://georgebv.github.io/pyextremes/
MIT License
237 stars 47 forks source link

Scipy interval hotfix #72

Closed georgebv closed 11 months ago

georgebv commented 11 months ago

Replaced alpha (now confidence) keyword argument in the .interval method with a positional argument. This makes it compatible with all versions of scipy (before and after deprecation).

This fixes https://github.com/georgebv/pyextremes/issues/70

codecov[bot] commented 11 months ago

Codecov Report

All modified lines are covered by tests :white_check_mark:

Comparison is base (b8cf576) 100.00% compared to head (f80a145) 100.00%. Report is 15 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #72 +/- ## ========================================== Coverage 100.00% 100.00% ========================================== Files 16 16 Lines 784 106 -678 ========================================== - Hits 784 106 -678 ``` | [Files](https://app.codecov.io/gh/georgebv/pyextremes/pull/72?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=George+Bocharov) | Coverage Δ | | |---|---|---| | [src/pyextremes/\_\_init\_\_.py](https://app.codecov.io/gh/georgebv/pyextremes/pull/72?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=George+Bocharov#diff-c3JjL3B5ZXh0cmVtZXMvX19pbml0X18ucHk=) | `100.00% <100.00%> (ø)` | | | [src/pyextremes/eva.py](https://app.codecov.io/gh/georgebv/pyextremes/pull/72?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=George+Bocharov#diff-c3JjL3B5ZXh0cmVtZXMvZXZhLnB5) | `100.00% <100.00%> (ø)` | | | [src/pyextremes/extremes/block\_maxima.py](https://app.codecov.io/gh/georgebv/pyextremes/pull/72?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=George+Bocharov#diff-c3JjL3B5ZXh0cmVtZXMvZXh0cmVtZXMvYmxvY2tfbWF4aW1hLnB5) | `100.00% <100.00%> (ø)` | | | [src/pyextremes/extremes/extremes.py](https://app.codecov.io/gh/georgebv/pyextremes/pull/72?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=George+Bocharov#diff-c3JjL3B5ZXh0cmVtZXMvZXh0cmVtZXMvZXh0cmVtZXMucHk=) | `100.00% <100.00%> (ø)` | | | [src/pyextremes/extremes/peaks\_over\_threshold.py](https://app.codecov.io/gh/georgebv/pyextremes/pull/72?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=George+Bocharov#diff-c3JjL3B5ZXh0cmVtZXMvZXh0cmVtZXMvcGVha3Nfb3Zlcl90aHJlc2hvbGQucHk=) | `100.00% <100.00%> (ø)` | | | [src/pyextremes/extremes/return\_periods.py](https://app.codecov.io/gh/georgebv/pyextremes/pull/72?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=George+Bocharov#diff-c3JjL3B5ZXh0cmVtZXMvZXh0cmVtZXMvcmV0dXJuX3BlcmlvZHMucHk=) | `100.00% <100.00%> (ø)` | | | [src/pyextremes/models/distribution.py](https://app.codecov.io/gh/georgebv/pyextremes/pull/72?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=George+Bocharov#diff-c3JjL3B5ZXh0cmVtZXMvbW9kZWxzL2Rpc3RyaWJ1dGlvbi5weQ==) | `100.00% <ø> (ø)` | | | [src/pyextremes/models/model\_base.py](https://app.codecov.io/gh/georgebv/pyextremes/pull/72?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=George+Bocharov#diff-c3JjL3B5ZXh0cmVtZXMvbW9kZWxzL21vZGVsX2Jhc2UucHk=) | `100.00% <ø> (ø)` | | | [src/pyextremes/models/model\_emcee.py](https://app.codecov.io/gh/georgebv/pyextremes/pull/72?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=George+Bocharov#diff-c3JjL3B5ZXh0cmVtZXMvbW9kZWxzL21vZGVsX2VtY2VlLnB5) | `100.00% <ø> (ø)` | | | [src/pyextremes/models/models.py](https://app.codecov.io/gh/georgebv/pyextremes/pull/72?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=George+Bocharov#diff-c3JjL3B5ZXh0cmVtZXMvbW9kZWxzL21vZGVscy5weQ==) | `100.00% <100.00%> (ø)` | | ... and [4 files with indirect coverage changes](https://app.codecov.io/gh/georgebv/pyextremes/pull/72/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=George+Bocharov)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.