how to create multiple subplots( scatterplot) in for loop
Just get rid of the plt.figure(figsize=[5,5])
count=1
for i in df.columns:
    plt.subplot(n,1,count)
    sns.scatterplot(df[&quot;cnt&quot;],df[i])
    count+=1

plt.show()

or use this to make it more beautier (Adjust the first two parameters of subplot function, i.e. 3, 2, to if you have more columns. First parameter specifies the number of rows for subplots in the plot, and second parameter specifies number of columns)
count=1
plt.subplots(figsize=(10, 8))
for i in df.columns:
    plt.subplot(3,2,count)
    sns.scatterplot(df[&quot;cnt&quot;],df[i])
    count+=1

plt.show()