Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

display values on top of seaborn bar plot

g =sns.barplot(x='',y='survived',data=groupedvalues)

for index, row in groupedvalues.iterrows():
    g.text(row.name,row.survived, round(row.survived,2), color='black', ha="center")
Source by wellsr.com #
 
PREVIOUS NEXT
Tagged: #display #values #top #seaborn #bar #plot
ADD COMMENT
Topic
Name
1+9 =