Skip to content

stat_ecdf does not work #2011

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
danton267 opened this issue Sep 25, 2021 · 1 comment · Fixed by #2065
Closed

stat_ecdf does not work #2011

danton267 opened this issue Sep 25, 2021 · 1 comment · Fixed by #2065
Assignees
Labels

Comments

@danton267
Copy link
Member

Following code creates thousands of squareds of squares, instead of one step-line.

library(plotly)
library(ggplot2)

df <- data.frame(
  x = c(rnorm(100, 0, 3), rnorm(100, 0, 10)),
  g = gl(2, 100)
)

p <- ggplot(df, aes(x)) +
      stat_ecdf(geom = "step")

ggplotly(p)
moutikabdessabour added a commit to moutikabdessabour/plotly that referenced this issue Oct 22, 2021
@moutikabdessabour moutikabdessabour linked a pull request Oct 22, 2021 that will close this issue
1 task
@cpsievert
Copy link
Collaborator

Duplicate of #1377 and #1030

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
4 participants