Scatter plot visualisation for logistic regression not working

I have used the ‘c’ parameter in plt.scatter function to plot the 2 classes defined. But the 2 classes are not getting recognised and only one colour is being displayed in visualisation. I dont understand what the error is

hey @ruthvika.mohan ,
It shouldn’t be as such.
Can you please let me know , what is the shape of your X_train_new and y_train.

Thank You :slightly_smiling_face:.

print(X_train_new.shape, y_train.shape)

(800, 3) (800,)

hey @ruthvika.mohan,
Kindly share with me your code .
You can upload it on github or upload it on drive and share me its link.

Will need to debug it.
Thank You :slightly_smiling_face:.