scikit-plot icon indicating copy to clipboard operation
scikit-plot copied to clipboard

plot_pca_2d_projection, order of classes/labels is not preserved

Open moritzschaefer opened this issue 5 years ago • 0 comments

The use of np.unique (which lexicographically sorts the array) in plot_pca_2d_projection leads to a different order of the classes in the plot without any control for the user on the order of labels/colors.

moritzschaefer avatar Feb 21 '20 10:02 moritzschaefer