i’m plotting about 150 rows worth of data as a bar plot, and they are all clumped together into one plot. I would like to separate them so there’s maybe 10 or so x plots per bar plot, if possible, but i’m unsure how to get it working.
my current code:
sns.set_style('whitegrid',{'grid.color':'.7','grid.linestyle':':'})
plt.figure()
single = sns.barplot(data=data,x='GEOGDESC',y='single proportion')
marwid = sns.barplot(data=data,x='GEOGDESC',y='marwid proportion')
sepdiv = sns.barplot(data=data,x='GEOGDESC',y='sepdiv proportion')
which gives me this:
bad barplot
GEGOGDESC is a column with town names, so I would like to have 10-20 towns per plot (just an amount that won’t make it so cramped)