Plotly figures are cropped in sphinx-gallery examples
Open
Nobody has claimed this yet.
bug
P2
- Dominant language
- Python
- Stars
- 18.8k
- Forks
- 2.8k
- Avg merge
- 16h 26m
- Merged PRs (30d)
- 21
Description
Cross-post from https://github.com/sphinx-gallery/sphinx-gallery/issues/1394, as they asked me to post here.
TL;DR: Plotly figures in sphinx-gallery are cropped, but resizing the window makes them display correctly again. It appears to be a question of "CSS tweaks".
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 cropping in the sphinx-gallery examples and compare the display before and after resizing the window. Investigate the CSS affecting Plotly figures, using the linked sphinx-gallery issue as context. Done means the figures display fully without requiring a window resize.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- data-visualization, documentation
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100