Skip to content

Commit 656c870

Browse files
committed
Improve dotplot colorbar title
Signed-off-by: zethson <[email protected]>
1 parent 5e10ebc commit 656c870

File tree

2 files changed

+308
-2
lines changed

2 files changed

+308
-2
lines changed

Untitled.ipynb

Lines changed: 305 additions & 0 deletions
Large diffs are not rendered by default.

ehrapy/plot/_scanpy_pl_api.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2253,7 +2253,7 @@ def rank_features_groups(
22532253
22542254
Examples:
22552255
>>> import ehrapy as ep
2256-
>>> adata = ep.data.mimic_2(encoded=True)
2256+
>>> adata = ep.dt.mimic_2(encoded=True)
22572257
>>> ep.pp.knn_impute(adata)
22582258
>>> ep.pp.log_norm(adata, offset=1)
22592259
>>> ep.pp.neighbors(adata)
@@ -2317,7 +2317,7 @@ def rank_features_groups_violin(
23172317
23182318
Examples:
23192319
>>> import ehrapy as ep
2320-
>>> adata = ep.data.mimic_2(encoded=True)
2320+
>>> adata = ep.dt.mimic_2(encoded=True)
23212321
>>> ep.pp.knn_impute(adata)
23222322
>>> ep.pp.log_norm(adata, offset=1)
23232323
>>> ep.pp.neighbors(adata)
@@ -2548,6 +2548,7 @@ def rank_features_groups_dotplot(
25482548
show=show,
25492549
save=save,
25502550
return_fig=return_fig,
2551+
colorbar_title="Mean value in group",
25512552
**kwds,
25522553
)
25532554

0 commit comments

Comments
 (0)