plotly / plotly/plotly.R

Dynamic list of unsupported geoms

Open
#348 2 comments 0 reactions 0 assignees View on GitHub

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

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.