Skip to content

Plotly and MathJax issue in Jupyter Notebooks #1937

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

Closed
ghost opened this issue Aug 7, 2017 · 1 comment
Closed

Plotly and MathJax issue in Jupyter Notebooks #1937

ghost opened this issue Aug 7, 2017 · 1 comment

Comments

@ghost
Copy link

ghost commented Aug 7, 2017

I created a Jupyter Notebook with an (offline) Plotly plot embedded. When downloaded as HTML and viewed in a browser, the LaTeX equation is not converted by MathJax about 50% of the time that the page is loaded. A demo is attached which when loaded will display the equation correctly about 50% of the time. Tried in Safari, FF and Chrome (Chrome seems a bit more reliable, but not 100%). Removing the Plotly loading code causes the equation to always load correctly, so it looks like there is some kind of conflict. When the equation is not displayed, I can see that jax.js and fontdata.js are not loaded.
PlotlyMathJaxIssueDemo.html.zip

@rreusser
Copy link
Contributor

rreusser commented Aug 7, 2017

Possibly related to plotly/plotly.py#515 ?

At any rate sounds like a plotly.py issue. If it's alright, I'll close this since there's nothing to be done about it in plotly.js (ploty.js uses mathjax when appropriate but does nothing to actually load mathjax) but definitely sounds like an issue appropriate for the python bug tracker.

@rreusser rreusser closed this as completed Aug 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant