Axis title not moved when adding padding to plot margin
Open
Nobody has claimed this yet.
bug
P3
- Dominant language
- JavaScript
- Stars
- 18.3k
- Forks
- 2k
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 28
Description
Plot axis titles do not recognize padding added around the margin of a plot.
- To reproduce: See this CodePen.
- Temporary workaround: Add a
title.standoffvalue that is equal to the padding. Eg. Iflayout.margin.padding=60, thenlayout.yaxis.title.standoff=60.
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 issue using the linked CodePen and inspect how plot margins, padding, and axis-title placement are handled in plotly.js. The work is done when axis titles move correctly with margin padding, without requiring a matching title.standoff workaround.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- data-visualization
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100