From 5cf4909beff60a963bb38baae10e3c4c0e490426 Mon Sep 17 00:00:00 2001 From: Steffen Rehberg Date: Tue, 31 May 2022 12:24:06 +0200 Subject: [PATCH] Forward args from apply_and_annotate to apply_test so you and use the shortcut convenience apply_and_annotate instead of apply_test and annotate individually --- statannotations/Annotator.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/statannotations/Annotator.py b/statannotations/Annotator.py index 77ddad2..fa75804 100644 --- a/statannotations/Annotator.py +++ b/statannotations/Annotator.py @@ -240,10 +240,10 @@ def annotate(self, line_offset=None, line_offset_to_group=None): return self._get_output() - def apply_and_annotate(self): + def apply_and_annotate(self, num_comparisons='auto', **stats_params): """Applies a configured statistical test and annotates the plot""" - self.apply_test() + self.apply_test(num_comparisons='auto', **stats_params) return self.annotate() def configure(self, **parameters):