I am trying to plot a bar chart on a FacetGrid using seaborn library. But I am having trouble adding string labels to the chart below.
For instance, the Gender variable has two values, 0 and 1. However, instead using integer values, I want to label these values as "Male" and "Female", respectively at this chart. How can I do that?
import seaborn as sbn
grid = sbn.FacetGrid(df_train, row='Gender', col='Loan_Status', size=2.2, aspect=1.6)
grid.map(sbn.barplot, 'Married', 'ApplicantIncome', alpha=.5, ci=None)
grid.add_legend()