I am trying to generate multiple seaborn bar plots in a loop. code executed successful but I can view only last plot. please suggest me what I am missing. This is happening inside Kaggle notebook.
below is the code snippet …
for i in train.columns:
c = train.groupby(i)\[i\].count() test = sns.barplot(x=c.index, y=c.values) for item in test.get\_xticklabels(): item.set\_rotation(45)