text_plain_output_1.png
import matplotlib.pyplot as plt
import seaborn as sns
import umap
r = umap.UMAP().fit_transform(X)
print(r.shape)
for i, j in [(0, 1)]:
    sns.scatterplot(x=r[:, i], y=r[:, j], hue=v4color, palette='rainbow')
    plt.xlabel('UMAP' + str(i + 1), fontsize=20)
    plt.ylabel('UMAP' + str(j + 1), fontsize=20)
    plt.show()