How are lower and upper fences computed in plotly's boxplot function, i.e. plotly.express.box() resp. plotly.graph_objects.Box?
I can’t find anything about that in the documentation which is strange, as there are multiple ways to define the fences/whiskers…
This should be in the docs and will be soon:
Each box spans from quartile 1 (Q1) to quartile 3 (Q3). The second quartile (Q2) is marked by a line inside the box. By default, the whiskers correspond to the boxes' edges +/- 1.5 times the interquartile range (IQR: Q3-Q1)