statannot icon indicating copy to clipboard operation
statannot copied to clipboard

barplot, correct y position of annotation line

Open webermarcolivier opened this issue 5 years ago • 2 comments

In the current implementation, in the case of a barplot, the y positions are computed based on the real data points. This makes sense in the case of the boxplot, where all the data points are plotted. However, the final seaborn barplot output is composed of the bar + error bars. We should only take into account the y position of the error bars.

Example: example_barplot_hue

webermarcolivier avatar Jan 22 '20 10:01 webermarcolivier

Is there a way to manually set the position? I'm facing this problem both with barplots and boxplot without outliers...

YiJessePi avatar Mar 16 '20 15:03 YiJessePi

I have the same problem

gourdchen avatar May 25 '21 11:05 gourdchen