But the UMAP have changed, not the number of clusters or the number of cells per cluster, just the global look of it and I cannot find any explanations.
this is a common problem that is not really in the control of the scanpy developers. It could be that for example your numpy version in your environment changed leading to such issues.
UMAP is an algorithm with randomized initialization step. Thus, you’d expect some variation if you run it multiple times on the same data. One way to keep it the same is to give a number to the seed parameter. If you run the same data with the same seed value, you should get the same resulting umap.
Btw, the two UMAP you showed are pretty consistent with each other. You are probably worrying about the position of cluster 5 in the right or left in this big group of clusters, but that’s minor variation to be expected in different UMAP runs.