I created a Seaborn
barplot
using the below code:
import seaborn as sns
barplot = sns.barplot(x='abc'
,y='def'
,data=df
,ci=None
)
barplot.set_xticklabels(barplot.get_xticklabels(), rotation=45)
barplot.figure
This code produced a barplot
that looks like this:
Is there a way to rotate and align the x axis labels so the barplot
looks something like this? So the end of the x axis labels are aligned to the x axis?
I am using Python 3.6 and seaborn 0.7.1