trevismd / statannotations

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

Include option pairs='all' for statannotations.Annotator.Annotator #97

Open JohannesWiesner opened 1 year ago

JohannesWiesner commented 1 year ago

I wonder if it would make sense to include a default option for the pair argument in statannotations.Annotator.Annotator? I guess a lot of users would simply like to obtain all pair-wise comparisons by default?

trevismd commented 1 year ago

Seems to be a valid proposition to me. It would be converted to "between all x values" if the plot has no hue, and to "between all hues (of same x), for all xs" otherwise?

JohannesWiesner commented 1 year ago

Hm, didn't think about these special cases when opening this issue, but sounds good to me!

JohannesWiesner commented 10 months ago

Maybe one could implement something like pairs = 'all', pairs = 'between_hue', pairs = 'between_x'?