Latex doesn't render in slider names or step labels.
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 18.3k
- Forks
- 2k
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 28
Description
I need MathJax to describe variables in a 3d plot, but it's not rendering properly anywhere besides the legend labels. I think the issue is similar to #608 and maybe also #559, but there doesn't seems to be a solution to either of these.
I'm using MathJax version 2, because trying to load MathJax version 3 (following instructions from the readme) causes Plotly script to fail - seems similar to #4563.
Here is an example of the 3D surface plot with sliders where I would like to include Latex, but as you can see MathJax is only rendering it in the legend. Is there any plan for fixing this bug?
If not, could you please point out why text from the Legend is passed through MathJax, but not text from the sliders? I'm not a javascript developer, but I could try to take a look into solving the issue if the lack of support is just a workload bandwidth problem ...
Thanks!
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 linked CodePen with MathJax version 2 and compare the legend rendering with the slider names and step labels. Trace how those label types are rendered and identify what prevents LaTeX from being passed through MathJax; done means LaTeX renders in both slider names and step labels without breaking the existing legend behavior.
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