I have data with 9 features, I was trying to plot a scatter plot between the variable to identify their relation for EDA.
I used the following code
fig, ax = plt.subplots(figsize=(8,6))
ax.scatter(Data['BMI'], Data['SkinThickness'],color = 'green') # Very closely correlated
ax.scatter(Data['BMI'], Data['Glucose'],color = 'blue')
ax.scatter(Data['BMI'], Data['Pregnancies'],color = 'red')
ax.scatter(Data['BMI'], Data['Age'],color = 'purple')
ax.scatter(Data['BMI'], Data['BloodPressure'],color = 'yellow')
ax.scatter(Data['BMI'], Data['Insulin'],color = 'black') # Highly scattered
plt.show()
Can anyone guide me as to how I can split these into different subplots one next to another, help would be really appreciated.