hi i have been trying to make multiple plots nrows4 ncolumns5 using this loop function but i only get one graph what am i doing wrong. p=0 q=0 for x in a: for y in b: pd.pivot_table (df.loc[((df ['a'] == x) & (df ['b'] == y))], index='swith_up',columns="classification", aggfunc='count',values='H', fill_value=0).plot(ax = axs[p,q], kind='area', legend=True, stacked = True, ylabel='b ={}'.format(y),xlabel= 'i, a={}'.format(x)) q=q+1 p=p+1
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)