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):