ggplotly from facet_grid doesn't display all facet labels when multiple variables are used for faceting
Open
Nobody has claimed this yet.
bug
ggplotly
- Dominant language
- R
- Stars
- 2.7k
- Forks
- 641
- PR merge metrics
- No merged PRs in 30d
Description
ggplotly from facet_grid doesn't display all facet labels when multiple variables are used for faceting. Only 'time' label is showed up in example below
library(plotly)
ggplot(reshape2::tips,aes(x=total_bill, y=tip/total_bill)) + geom_point(shape=1)+ facet_grid(sex +time~ .)
ggplotly()
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 with the reproducible R example using facet_grid(sex + time ~ .) and ggplotly(). Trace how ggplotly converts the faceted plot, then verify that all facet labels, including “sex” and “time,” are displayed.
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