Boxplot doesn't show up side-by-side
Open
Nobody has claimed this yet.
- Dominant language
- R
- Stars
- 2.7k
- Forks
- 641
- PR merge metrics
- No merged PRs in 30d
Description
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)


Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the supplied ggplot and ggplotly versions of the boxplot using the shown aesthetics. Compare the rendered grouping and positioning, then trace the ggplotly conversion path involved in geom_boxplot. Done means the ggplotly result shows the regional boxplots side-by-side as the original ggplot does.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- data-visualization
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100