Adding geom_GeomStepribbon()
Nobody has claimed this yet.
- Dominant language
- R
- Stars
- 2.7k
- Forks
- 641
- PR merge metrics
- No merged PRs in 30d
Description
I have a chart where I use geom_steppribbon() which is part of the pammtools package. This geom has yet to be implemented in plotly.
I am happy to help with the implementation. However, I have not yet contributed to plotly and would need some help where to get started.
This would be a minimal example of a chart with geom_stepribbon:
library(ggplot2)
library(pammtools)
huron <- data.frame(year = 1875:1972, level = as.vector(LakeHuron))
ggplot(huron, aes(year)) +
pammtools::geom_stepribbon(aes(ymin = level - 1, ymax = level + 1)) +
geom_step(aes(y = level))
Thank you already for your help.
Best,
Leo
Contributor guide
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
The issue names no files or tests; start by locating plotly.R's existing handling for geom_step and ribbon layers, then compare it with the pammtools::geom_stepribbon example. Done should mean the minimal LakeHuron chart renders with the requested step ribbon in plotly.R.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- data-visualization
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100