plotly.R
plotly.R copied to clipboard
Boxplot doesn't show up side-by-side
I'm very confused, because this doesn't seem to be a problem other users here are having. But in any case, I'm trying to create side-by-side boxplots with the following code; it does what I want on ggplot but not when wrapping with ggplotly.
ggplot(density_tidy,aes(x=cluster, y=dem_margin)) +
geom_boxplot(aes(colour=region), fill=NA, alpha=0.5)
It'll likely work if you install this experimental PR:
devtools::install_github("ropensci/plotly#1514")
@cpsievert , thanks for sharing this in progress version. I have tried it, it is working fine.
Please let me know, when can this changed be merged with current plotly package and deployed. So that we can install it from cran.
I'm still having this issue today, is there perhaps any update regarding https://github.com/plotly/plotly.R/pull/1514 which should fix this? (Unfortunately I'm only allowed to install packages from CRAN.) Thanks. @cpsievert
Workaround used for now for those facing the same problem (ignore the warning returned in the console): https://github.com/plotly/plotly.R/issues/1644#issuecomment-667560318