I want to set a figure size for each subplot. One size is fine for all. Data is from a pandas dataframe
X = pd.DataFrame(model_data[:,1:], columns = col[0:12])
y = pd.DataFrame(model_data[:,0], columns = ['mv'])
a = 1
for i in range(12):
plt.figure(figsize=(20, 8))
plt.subplot(3,4,a)
plt.scatter(X.iloc[:, i], y)
a += 1
I want all the plots to be in 3x4 format with each sized at 20, 8.
How do I efficiently solve this problem?