Skip to content

Commit

Permalink
Check if specific to densmap
Browse files Browse the repository at this point in the history
  • Loading branch information
keller-mark committed Jan 16, 2025
1 parent 3d73310 commit 8f8787a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/test_plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -1021,6 +1021,7 @@ def pbmc_scatterplots_session() -> AnnData:
sc.pp.neighbors(pbmc)
sc.tl.tsne(pbmc, random_state=0, n_pcs=30)
sc.tl.diffmap(pbmc)
sc.tl.umap(pbmc, key_added="X_another_umap")
sc.tl.umap(pbmc, method="densmap")
return pbmc

Expand Down Expand Up @@ -1172,6 +1173,13 @@ def pbmc_scatterplots(pbmc_scatterplots_session) -> AnnData:
mask_obs="mask",
),
),
(
"another_umap",
partial(
sc.pl.embedding,
basis="X_another_umap",
),
),
(
"densmap_nocolor",
partial(
Expand Down

0 comments on commit 8f8787a

Please sign in to comment.