Turn off error bars in Seaborn Bar Plot

I use GridSpec in matplotlib to create a page with 9 subheadings. One of the subheadings is the Sea Bar chart created using the following code:

import seaborn as sns sns.barplot(x=df['Time'], y=df['Volume_Count'], ax=ax7) 

Is there a way to turn off vertical bars of bar graph errors? If not, is it possible to reduce the horizontal width of the bars?

Thanks!

+5
source share
1 answer

Have you tried the ci argument? According to the documentation :

ci: float or None, optional The size of the confidence intervals for estimating indicative values. If None , no reboot will be performed, and error lines will not be drawn.

 sns.barplot(x=df['Time'], y=df['Volume_Count'], ax=ax7, ci=None) 
+13
source

Source: https://habr.com/ru/post/1258344/


All Articles