scverse / scverse/scirpy

Plot overhaul

Open
#247 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

breaking-change
Dominant language
Python
Stars
265
Forks
50
Avg merge
9d 9h
Merged PRs (30d)
4

Description

Follow scanpy's plotting conventions more closely.

  • What should a plotting function return?
  • What parameters should it have? Do we really need all of show, ax, return_fig?
  • If you'd design scanpy plotting from scratch, how would you do it?

Supersedes #193.


  • Possible to build a common plotting library for the scanpy ecosystem?
  • deal with coloring of non-categorical pandas columns
  • replace pl.group_abundance with a generic barplot function (See #232 for more details)

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

Review the existing plotting functions and compare their returns and parameters with scanpy's plotting conventions. Read the details in #232 and consider the checklist, including non-categorical coloring, the generic barplot replacement, and a shared scanpy ecosystem library. Done means the plotting API and overhaul scope are agreed.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data-visualization
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.