plotly / plotly/plotly.R

Does not respect space = "free" in facet_grid

Open
#908 11 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement ggplotly
Dominant language
R
Stars
2.7k
Forks
641
PR merge metrics
No merged PRs in 30d

Description

mt <- ggplot(mtcars, aes(mpg, wt, colour = factor(cyl))) + geom_point()
p <- mt + facet_grid(. ~ cyl, scales = "free", space = "free")

p
image

ggplotly(p)
image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by running the mtcars, facet_grid, and ggplotly example from the issue and compare the facet widths between the static plot and the interactive result. The issue names no source file or test; done means the interactive plot respects space = "free" consistently with the faceted ggplot.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
data-visualization
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.