-
Notifications
You must be signed in to change notification settings - Fork 633
Support for R grid package in ggplotly #220
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
Comments
I'm pretty sure translating that code directly isn't possible because of the package design and R internals. However, we could make it easier to make subplots, which is something I can take into consideration for the redesign. Maybe we could handle a list of ggplots, so something like this: ps <- list(
plot1 = qplot(rnorm(100)),
plot2 = qplot(rnorm(100)),
layout = list(yaxis = list(domain = c(0, 0.3)))
)
plotly(ps) |
That would be cool! |
The new |
For multiple plots that are laid out in a grid using the R grid package, looks like ggplotly only grabs the first of those plots:
Ie, this:
Turns into this with ggplotly:
Would be cool if we used Plotly subplots for these.
https://siguniang.wordpress.com/2010/11/21/rviewports-grid-in-ggplot2/
The text was updated successfully, but these errors were encountered: