When I plot on a single chart with this code get a normal-looking chart.
df_bga= df.loc[(df['Dispensary'] == 'Lazy River Products')]
bga1= sns.countplot(y="Brand Name",data=df_bga)
bga1.set( title= " Flower Sku Count")
bga1.tick_params(axis='x', rotation=0)
Loop chart code:
dispo = df_8th['Dispensary'].unique()
for i in dispo:
df_loop= df.loc[(df['Dispensary'] == i)]
c1= sns.countplot(y="Brand Name", data=df_loop)
c1.set( title= i+" Flower Sku Count")
c1.figure.savefig("count_charts/"+str(i) +" Brand Skus.png", format="PNG")
But when I try to loop through a bunch of data I get charts like this:
How do I loop through data and create multiple charts?