MathJax text in scatter's text does not obey scaling
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 18.3k
- Forks
- 2k
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 28
Description
Hi!
I'm facing the issue with text scatter that includes MathJax text. Initially it is rendered and positioned correctly, but a manual rescaling (zooming/panning) seems to be completely ignored by text labels.
Here is reproducible example: https://codepen.io/Igor-Vaiman/pen/xxBjbdr (to see the issue, you need to zoom/pan the rendered plot).
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 linked CodePen reproduction and inspect the scatter trace text rendering path, focusing on labels containing MathJax. Reproduce zooming and panning, then verify that MathJax text labels follow the same scaling and repositioning as the rest of the scatter plot.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- data-visualization
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100