Skip to content

add statistical annotations (pvalue significance) on an existing boxplot generated by seaborn boxplot

License

Notifications You must be signed in to change notification settings

jks17/statannot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is it

Python package to add statistical annotations on an existing boxplot generated by seaborn.

Features

  • Single function to add statistical annotations on an existing boxplot generated by seaborn boxplot.
  • Integrated statistical tests: Mann-Whitney, t-test (independent and paired).
  • Proper layout of multiple annotations with correct y offsets.
  • Annotations can be located inside or outside the plot.
  • Format of the statistical test can be customized: star annotation, or explicit pvalue.

Example 1

Example 2

Requirements

  • Python >= 3.5
  • numpy >= 1.12.1
  • seaborn >= 0.8.1
  • matplotlib >= 2.2.2
  • pandas >= 0.23.0
  • scipy >= 1.1.0

About

add statistical annotations (pvalue significance) on an existing boxplot generated by seaborn boxplot

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 89.2%
  • Python 10.8%