I am unable to use the same colors in legend as coming from my cycled data. 'alldata' has a size 569x30 so defining that many colors is not feasible
for labels in ['benign', 'malignant']:
scatter = plt.scatter(svd_pca_eqvt[:,0],svd_pca_eqvt[:,1],label=labels, c=alldata['target'])
plt.legend()