Arguments passed in scatter function in cell 17

In cell 21, what actually means "plt.scatter(X[:,0], X[:,1], c=Y), should not it be like X and Y with all rows.

please explain this line that what actually is happening.

Share the link of the notebook or post the complete screenshot here.

dont worry, I got that thing. #stackoverflow.