I have plotted 10 plots but they are showing in different windows but I want to plot grid of separate plots of descent size on same page or within few pages.
Code that reproduces my condition is:
matrix=np.random.randint(0,100,(50,10))
df=pd.DataFrame(matrix)
df.columns=['a','b','c','d','e','f','g','h','i','j']
f=pd.DataFrame(np.random.randint(0,100,(50,1)))
f.columns=['f']
for i in range(len(df.columns)):
plt.scatter(df.iloc[:,i],f)
plt.show()
The desired output should look something like: