statannotations icon indicating copy to clipboard operation
statannotations copied to clipboard

Why it is "p≤0.05" but not exact number?

Open huajiasha opened this issue 7 months ago • 2 comments

test code below

    pairs = [
        ("PBS", "OVA")
    ]
    annot = Annotator(ax2, pairs,fontsize=10, **plotting_parameters)
    annot.configure(test='Mann-Whitney', text_format='simple', loc='inside',show_test_name=False, verbose=2)
    annot.apply_test()

the p value is 1.476e-02 or 0.01476, it is far from 0.05

<ipython-input-20-bed6cdf16d56>:8: FutureWarning: 

Passing `palette` without assigning `hue` is deprecated and will be removed in v0.14.0. Assign the `x` variable to `hue` and set `legend=False` for the same effect.

  ax2=sns.boxplot(ax=ax,palette='Set2',width=0.5,**plotting_parameters)
PBS vs. OVA: Mann-Whitney-Wilcoxon test two-sided, P_val:1.476e-02 U_stat=9.000e+00

Image

huajiasha avatar Jun 03 '25 08:06 huajiasha