scverse / scverse/scanpy

tracksplot wrong highlight groups (no brackets)

Open
#1,265 1 comment 0 reactions 1 assignee View on GitHub

@fidelram is already working on this.

Since Jun 16, 2020.

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

Description

sc.pl.tracksplot, produce a wrong highlight bar without brackets.

pbmc = sc.datasets.pbmc68k_reduced()
marker_genes = ['S100A8', 'GNLY', 'NKG7', 'KLRB1', 'FCGR3A', 'FCER1A', 'CST3']
ax = sc.pl.tracksplot(pbmc,marker_genes, groupby='louvain',
                     var_group_positions=[(0,2),(4,5)],var_group_labels=['set1','set2'])

image

Versions:

scanpy==1.4.7.dev136+g7f5c907 anndata==0.7.1 umap==0.4.1 numpy==1.18.3 scipy==1.4.1 pandas==1.0.3

...

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.