Skip to content

Dynamic list of unsupported geoms #348

Open
@cpsievert

Description

@cpsievert

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions