Skip to content

ECDF ordering not working with ggplotly #1377

Closed
@ghost

Description

ggplotly seems to not recreate plots when using stat_ecdf()

library(tidyverse)
library(plotly)

 p = ggplot(mtcars, 
 aes(x = mpg, 
 group = cyl, 
 color = cyl)) + 
stat_ecdf() + 
theme_classic()

# This works
p
# this is weird
ggplotly(p)

Here is the output:

p

screen shot 2018-10-24 at 12 20 40 pm

ggplotly(p)

screen shot 2018-10-24 at 12 20 29 pm

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions