How to randomize plotting order of cells in sc.pl.umap

When displaying categories in sc.pl.umap, how can I randomize the order of the layers for every cell so that one category does not cover the cells of the other category, which then appears hidden?

1 Like