trevismd / statannotations

add statistical significance annotations on seaborn plots. Further development of statannot, with bugfixes, new features, and a different API.
Other
639 stars 71 forks source link

Refactoring stat tests #7

Closed trevismd closed 3 years ago

trevismd commented 3 years ago

Starting refactoring testing in order to reduce the complexity of add_stat_annotation by splitting stats from annotations (as for ComparisonsCorrection before)

codecov[bot] commented 3 years ago

Codecov Report

Merging #7 (0868598) into dev (82d34b0) will increase coverage by 4.49%. The diff coverage is 68.81%.

Impacted file tree graph

@@            Coverage Diff             @@
##              dev       #7      +/-   ##
==========================================
+ Coverage   54.39%   58.88%   +4.49%     
==========================================
  Files          14       16       +2     
  Lines         785      827      +42     
==========================================
+ Hits          427      487      +60     
+ Misses        358      340      -18     
Impacted Files Coverage Δ
statannotations/stats/ComparisonsCorrection.py 88.73% <0.00%> (ø)
tests/test_stat_result.py 100.00% <ø> (ø)
statannotations/stats/tests.py 36.36% <30.00%> (+24.08%) :arrow_up:
statannotations/statannotations.py 13.09% <40.00%> (+0.31%) :arrow_up:
statannotations/stats/StatTest.py 64.58% <64.58%> (ø)
statannotations/stats/utils.py 37.03% <75.00%> (+3.70%) :arrow_up:
statannotations/stats/StatResult.py 90.69% <100.00%> (+0.45%) :arrow_up:
tests/test_stattest.py 100.00% <100.00%> (ø)

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 82d34b0...0868598. Read the comment docs.