# Adding legend to Seaborn plot and defining the legend location sns.barplot(data=df2, x="Strain", y="Max titer [g/L]", ci="sd", capsize=0.2, palette="Blues_d").legend(loc='upper left')