plotly.R icon indicating copy to clipboard operation
plotly.R copied to clipboard

Can only have one: config

Open jianhaizhang opened this issue 6 years ago • 1 comments

Brief description of the problem: In the subplot function, if I input a mix of ggplot2 object and plotly object, I got 'Warning message: Can only have one: config'. How to fix the warning? Below is an example.

library(plotly); library(ggplot2)
g <- ggplot(diamonds, aes(x=carat, y=price, color=cut)) + geom_point()
p <- plot_ly(z = volcano, type = "heatmap")
subplot(ggplotly(g), plot_ly(type="heatmap"), p, nrows=2, shareX=TRUE, shareY=TRUE)  

jianhaizhang avatar Oct 11 '19 22:10 jianhaizhang

Any developments on this? What exactly is it trying to say. I am trying to solve exactly the same problem. Thanks

vitara-srinivasan avatar May 12 '23 14:05 vitara-srinivasan