I was trying to fix the size of figure when comparing one variable to other.
columns = ['Education_Level' ]
bins = [30, 6]
for i, columns in enumerate(columns):
#plt.figure(figsize=(15,8))
fig = sns.FacetGrid(BankChurners, col='Attrition_Flag', hue='Attrition_Flag', height=5)
plt.figure(figsize=(15,8))
fig.map(sns.histplot, columns, bins=bins[i], kde=False)
as you can see below that the labels don't appear clearly. I have tried figzie(15,8) and other things but no luck. If you have a hint or idea that would be greatly appreciated.