diff --git a/src/fig_utils/stat_annot.py b/src/fig_utils/stat_annot.py
index 092e17546c01335b40dd587022dff99703201819..6d30ed3015573976d188c52c83b4e17a2f6cbdca 100644
--- a/src/fig_utils/stat_annot.py
+++ b/src/fig_utils/stat_annot.py
@@ -26,7 +26,7 @@ def add_stat_annotation(ax, data=None, x=None, y=None, hue=None, order=None,
                         liney_offset_axes_coord=None,
                         line_height_axes_coord=0.02,
                         text_y_offset_points=1, color='0.2', linewidth=1.5,
-                        fontsize='medium', verbose=1):
+                        fontsize='medium', verbose=1, min_pval = 1e-16):
     """
     User should use the same argument for the data, x, y, hue, order, \
     hue_order as the seaborn boxplot function.
@@ -135,7 +135,7 @@ def add_stat_annotation(ax, data=None, x=None, y=None, hue=None, order=None,
             if pval > 1e-16:
                 text = "p = {:.2e}".format(pval)
             else:
-                text = "p < 1e-16"
+                text = f"p < {min_pval:.0e}"
 
             if loc == 'inside':
                 y_ref = max(ymax1, ymax2)