Skip to content

implement geom_GeomCurve #1684

Closed
Closed
@Courvoisier13

Description

@Courvoisier13

I am trying to do the correlation plot from the package corrr. When I tested ggplotly it said to request geom_GeomCurve() and geom_GeomTextRepel() to be implemented

mydata <- mtcars[, c('mpg', 'cyl', 'disp', 'hp', 'carb')]
library(corrr)
p = mydata %>% correlate() %>% network_plot(min_cor=0.6)
ggplotly(p)

gives a blank canvas with invisible dots and the warnings:

Warning messages:
1: In geom2trace.default(dots[[1L]][[1L]], dots[[2L]][[1L]], dots[[3L]][[1L]]) :
geom_GeomCurve() has yet to be implemented in plotly.
If you'd like to see this geom implemented,
Please open an issue with your example code at
https://github.com/ropensci/plotly/issues
2: In geom2trace.default(dots[[1L]][[1L]], dots[[2L]][[1L]], dots[[3L]][[1L]]) :
geom_GeomTextRepel() has yet to be implemented in plotly.
If you'd like to see this geom implemented,
Please open an issue with your example code at
https://github.com/ropensci/plotly/issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions