Skip to content

Trace merging code is overzealous #346

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
cpsievert opened this issue Dec 13, 2015 · 0 comments
Closed

Trace merging code is overzealous #346

cpsievert opened this issue Dec 13, 2015 · 0 comments

Comments

@cpsievert
Copy link
Collaborator

In #335, I fixed #250 by not merging traces (with identical x/y/axis/yaxis) if the trace type is bar. However, this solution is not general enough, since this causes problems for other traces as well. For example,

library(plotly)
m <- ggplot(faithful, aes(x = eruptions, y = waiting)) +
 geom_point() +
 xlim(0.5, 6) +
 ylim(40, 110)
g <- m + geom_density2d()
ggplotly(g)
Error in if (is.character(new.mode) && !is.na(new.mode)) { : 
  missing value where TRUE/FALSE needed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant