In the example at https://plot.ly/javascript/LaTeX/ when hovering over the plotted points, the graph shows latex code instead of rendered math text.
Activity
mdtusz commentedon May 23, 2016
Confirmed as a bug. Thanks for reporting this!.
etpinard commentedon May 25, 2016
Yep, thanks for reporting. This has been a bug ever since we added support for MathJax more than two years ago.
etpinard commentedon May 25, 2016
It might worthwhile to look into swapping MathJax for KaTeX.
[-]Latex mode bug[/-][+]MathJax does not render in hover labels[/+]sglyon commentedon Jul 26, 2016
@etpinard has any testing been done on moving to KaTeX?
etpinard commentedon Jul 28, 2016
@spencerlyon2 No. This is not a high priority for us at the moment,
archmoj commentedon Jan 11, 2022
The following page could be helpful for comparing MathJax v3 and KaTeX:
https://news.ycombinator.com/item?id=22582343
ChasingZenith commentedon Sep 13, 2022
From my browser, it look like this, maybe escape sequence prefix is needed, for example
'\\alpha'instead of
'\alpha'on Chrome
Also, I find that on firefox, the legend size is not correct. (Maybe I should open another issue.)
On firefox
Another example for incorrect legend in firefox
on firefox
on chrome
khumarahn commentedon Aug 6, 2024
Now latex doesn't render in the basic example here: https://plotly.com/javascript/LaTeX/
