Data Science, Machine Learning, Pattern Recognition, Pca Analysis, Data Reduction.
plt.subplots(subplot_kw={'projection': '3d'}, constrained_layout=True) ax.scatter(x_pca[:,0],x_pca[:,1], x_pca[:,2],c=cancer['target'],cmap='prism') ax.set_xlabel(r'$PC1$', labelpad=10) ax.set_ylabel(r'$PC2$', labelpad=13) ax.set_zlabel(r'$PC3$', labelpad=13) ax.view_init(25,20)