trevismd / statannotations

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

Fix using data=None and hue array #64

Closed getzze closed 1 year ago

getzze commented 2 years ago

Fix adding annotations with hue if arrays are provided instead of a Dataframe and column names as strings (data=None).

codecov[bot] commented 2 years ago

Codecov Report

Merging #64 (1524df8) into dev (bc0c4b8) will increase coverage by 0.02%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##              dev      #64      +/-   ##
==========================================
+ Coverage   97.01%   97.04%   +0.02%     
==========================================
  Files          29       29              
  Lines        1877     1894      +17     
==========================================
+ Hits         1821     1838      +17     
  Misses         56       56              
Impacted Files Coverage Δ
statannotations/_Plotter.py 97.38% <100.00%> (ø)
statannotations/_version.py 100.00% <100.00%> (ø)
statannotations/utils.py 100.00% <100.00%> (ø)
tests/test_annotator.py 100.00% <100.00%> (ø)
tests/test_plotter.py 100.00% <100.00%> (ø)
statannotations/Annotator.py 91.66% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.