When combining Plotly plots using subplots, the middle plot shrinks
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- r
- Domain
- data-visualization
Research direction
The issue names no files, tests, or entry points. Start by reproducing the unequal subplot heights with ncol and nrow greater than two, then trace how subplot margins are calculated and applied. Done means the rows or columns have equal plot heights while preserving the requested margins, with regression coverage for both cases.
Written by the indexing model from the issue text.
Description
When combining Plotly plots using subplots, if ncol is 2 and nrow is greater than 2, the height of the middle row is smaller compared to the top and bottom plots. Similarly, if nrow is 2 and ncol is greater than 2, the height of the middle column is smaller compared to the first and last plots. This discrepancy occurs because the margin values are not applied consistently; the top margin value is not applied to the top plot, and the bottom margin value is not applied to the bottom plot. Is there any workaround to get all plot in same height
- Dominant language
- R
- Stars
- 2.7k
- Forks
- 641
- PR merge metrics
- No merged PRs in 30d
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.
More from plotly/plotly.R
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
-
Difficulty 3/5 1-2 days Newbie friendliness 72/100
-
save_image Error Open
Difficulty 3/5 1-2 days Newbie friendliness 52/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
easystats/performance#950 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
briandconnelly/airnow#9 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
OHDSI/CohortConstructor#774 ·