Skip to content

Commit

Permalink
Improve dotplot colorbar title
Browse files Browse the repository at this point in the history
Signed-off-by: zethson <[email protected]>
  • Loading branch information
Zethson committed Jun 6, 2023
1 parent 5e10ebc commit 656c870
Show file tree
Hide file tree
Showing 2 changed files with 308 additions and 2 deletions.
305 changes: 305 additions & 0 deletions Untitled.ipynb

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions ehrapy/plot/_scanpy_pl_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -2253,7 +2253,7 @@ def rank_features_groups(
Examples:
>>> import ehrapy as ep
>>> adata = ep.data.mimic_2(encoded=True)
>>> adata = ep.dt.mimic_2(encoded=True)
>>> ep.pp.knn_impute(adata)
>>> ep.pp.log_norm(adata, offset=1)
>>> ep.pp.neighbors(adata)
Expand Down Expand Up @@ -2317,7 +2317,7 @@ def rank_features_groups_violin(
Examples:
>>> import ehrapy as ep
>>> adata = ep.data.mimic_2(encoded=True)
>>> adata = ep.dt.mimic_2(encoded=True)
>>> ep.pp.knn_impute(adata)
>>> ep.pp.log_norm(adata, offset=1)
>>> ep.pp.neighbors(adata)
Expand Down Expand Up @@ -2548,6 +2548,7 @@ def rank_features_groups_dotplot(
show=show,
save=save,
return_fig=return_fig,
colorbar_title="Mean value in group",
**kwds,
)

Expand Down

0 comments on commit 656c870

Please sign in to comment.