scverse / scverse/scanpy

paga colorbar

Open
#498 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
2.6k
Forks
779
Avg merge
1d 4h
Merged PRs (30d)
27

Description

Dear,
I cannot add colorbar in paga with the following code:

sc.pl.paga(adata,color=['dpt_pseudotime'],threshold=0.3,random_state=0,node_size_scale=1.8, node_size_power=1, edge_width_scale=0.5,fontsize=12)

And, even though I used colorbar=True, the colorbar didn't display either.
How to solve the problem?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported sc.pl.paga call with dpt_pseudotime and compare it with the colorbar=True behavior. Trace the PAGA plotting entry point to determine why the colorbar is not displayed; done means the supplied example renders the expected colorbar.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data-visualization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.