Add documentation on creating custom geoms, themes, etc.
Nobody has claimed this yet.
- 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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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