Python Seaborn - How are outliers determined in boxplots
You can calculate it this way:
Q1 = df.quartile(0.25)
Q3 = df.quartile(0.75)
IQR = Q3 - Q1
It's an outlier if it is less than:
Q1 - 1.5 * IQR
or if it is greater than:
Q3 + 1.5 * IQR
It appears, by testing, that seaborn uses whis=1.5
as the default.
whis
is defined as the
Proportion of the IQR past the low and high quartiles to extend the plot whiskers.
For a normal distribution, the interquartile range contains 50% of the population and 1.5 * IQR contains about 99%.