Dynamic list of unsupported geoms
Open
Nobody has claimed this yet.
enhancement
ggplotly
- Dominant language
- R
- Stars
- 2.7k
- Forks
- 641
- PR merge metrics
- No merged PRs in 30d
Description
Here's a list of official ggplot2 geoms that we don't currently support. For a list of 3rd party geoms, see #566
library(plotly)
# obtain ggplot2's geoms
gg <- ls(asNamespace("ggplot2"))
geoms <- gg[grepl("^Geom", gg)]
# plotly geoms
x <- sub("to_basic\\.", "", as.character(methods(to_basic)))
y <- sub("geom2trace\\.", "", as.character(methods(geom2trace)))
# non official mechanism for layout-specific geoms yet
pgeoms <- c(x, y, "GeomRasterAnn")
setdiff(geoms, pgeoms)
"GeomCurve" "GeomCustomAnn" "GeomLabel" "GeomLogticks"
packageVersion("plotly")
[1] ‘4.5.6.9000’
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
Re-run the R snippet in the issue and inspect the to_basic and geom2trace method lists it names. Confirm with maintainers whether the goal is support for the four listed geoms or a dynamic unsupported-geoms report. Done should be an agreed behavior with the listed geoms handled or reported as intended.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- data-visualization
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100