has2k1 / has2k1/plotnine

Add documentation on creating custom geoms, themes, etc.

Open
#102 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Documentation
Dominant language
Python
Stars
4.8k
Forks
254
Avg merge
10h 35m
Merged PRs (30d)
9

Description

For ggplot2, there are many R packages that define new geom_* functions or new theme_* functions. I'd love to be able to define a new geom for plotnine (I'm particularly thinking of something similar to ggridges), but it's not clear to me how I would do that.

Maybe it'd be possible to add some developer instructions that tell you which functions to look at / which classes to inherit from when defining custom geoms.

thanks!

Contributor guide

No contributing guide indexed for this repository

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 examining plotnine's existing geom and theme implementations and comparing the extension approach with the linked ggridges documentation. Identify the functions and classes a developer must use or inherit from when creating custom geoms and themes. Done means the developer instructions clearly cover those extension points and let a reader begin implementing one.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
documentation
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.