How to put value over bars when creating many barplots with a loop
How to put value over bars when creating many barplots with a loop Question: How can I put the value over the bars when creating many plots with a loop. The code I am using years = [twenty,twentyone,twentytwo,twentythree] for year in years: plt.ylim(0, 60) ax = sns.barplot(data=year, errorbar=None) ax.set_xticklabels(ax.get_xticklabels(), rotation=45, horizontalalignment=’right’) for i in ax.containers: …