Skip to content

print after add_trace doesn't work for this figure #277

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
chriddyp opened this issue Sep 2, 2015 · 0 comments
Closed

print after add_trace doesn't work for this figure #277

chriddyp opened this issue Sep 2, 2015 · 0 comments
Labels

Comments

@chriddyp
Copy link
Member

chriddyp commented Sep 2, 2015

> get_figure('chelsea_lyn', 6366) %>% add_trace(x=c(1, 2, 3), y=c(4, 2, 4))
Error in     x$layout[[i]] <- if (sum(idx) == 3) {
      c(layout[!idx], eval(layout$args, as.list(layout$env), layout$enclos)) 
    } else {
      layout
    }
  }
  more elements supplied than there are to replace

here: https://github.com/ropensci/plotly/blob/c6eb180fa11ed810f8cbb95578022debb508838c/R/plotly.R#L279-L284

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

No branches or pull requests

1 participant