Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MathJax does not render in hover labels #559

Open
nibage opened this issue May 22, 2016 · 7 comments
Open

MathJax does not render in hover labels #559

nibage opened this issue May 22, 2016 · 7 comments
Assignees

Comments

@nibage
Copy link

nibage commented May 22, 2016

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.

@mdtusz
Copy link
Contributor

mdtusz commented May 23, 2016

Confirmed as a bug. Thanks for reporting this!.

@etpinard
Copy link
Contributor

Yep, thanks for reporting. This has been a bug ever since we added support for MathJax more than two years ago.

@etpinard
Copy link
Contributor

It might worthwhile to look into swapping MathJax for KaTeX.

@etpinard etpinard changed the title Latex mode bug MathJax does not render in hover labels Jul 11, 2016
@sglyon
Copy link

sglyon commented Jul 26, 2016

@etpinard has any testing been done on moving to KaTeX?

@etpinard
Copy link
Contributor

@spencerlyon2 No. This is not a high priority for us at the moment,

@archmoj
Copy link
Contributor

archmoj commented Jan 11, 2022

It might worthwhile to look into swapping MathJax for KaTeX.

The following page could be helpful for comparing MathJax v3 and KaTeX:
https://news.ycombinator.com/item?id=22582343

@ChasingZenith
Copy link

From my browser, it look like this, maybe escape sequence prefix is needed, for example '\\alpha'
instead of '\alpha'

on Chrome

Screenshot_20220913_210136

Also, I find that on firefox, the legend size is not correct. (Maybe I should open another issue.)

On firefox

Screenshot_20220913_210346

Another example for incorrect legend in firefox

on firefox

Screenshot_20220913_210715

on chrome

Screenshot_20220913_210847

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants