colleagues new to Python but got a challenge to do scatter matrix for the Iris data without using a lab.
I thought a for loop can be used to plot scatter by literately one feature on another.
I have put all the features as X. Please advise what kind of mess ,i have done in the code below- i am getting "x and Y must be of equal size error". How else would you do it?
for c in X:
plt.scatter(c,X[:,0:4] )
plt.show
THANKS
Finally after multiple trials, this is one of the answers i managed to develop scatter matrix with histograms in the diagonal . Edits to improve the code are welcome, particularly how do i add legend to the scatter plots? thanks