trevismd / statannotations

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

Fix keeping annotation with reduced ylim #116

Closed amkorb closed 1 year ago

amkorb commented 1 year ago

The annotation lines were disappearing if the ylim was manually reduced. https://github.com/trevismd/statannotations/issues/91 The clip_on option was set for loc='outside' but not loc='inside'.

codecov[bot] commented 1 year ago

Codecov Report

Merging #116 (81a192d) into dev (9b7f581) will not change coverage. The diff coverage is 100.00%.

@@           Coverage Diff           @@
##              dev     #116   +/-   ##
=======================================
  Coverage   97.05%   97.05%           
=======================================
  Files          29       29           
  Lines        1936     1936           
=======================================
  Hits         1879     1879           
  Misses         57       57           
Impacted Files Coverage Δ
statannotations/Annotator.py 91.48% <100.00%> (ø)

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

trevismd commented 1 year ago

Thank you, @Amauryk45 !