When reordering conditions on the x-axis in a seaborn boxplot using order=conditions, I get a mismatch between the plotted data and statannotations. Significance values are misplaced and assigned to the "original" order of the labels and not according to the reordered plotting of the data and x-axis labels. Not sure if this is a bug or if I'm missing something.
Hi!
When reordering conditions on the x-axis in a seaborn boxplot using
order=conditions
, I get a mismatch between the plotted data andstatannotations
. Significance values are misplaced and assigned to the "original" order of the labels and not according to the reordered plotting of the data and x-axis labels. Not sure if this is a bug or if I'm missing something.Any idea on how to solve this?