8000 Plotly cannot render LaTeX · Issue #2059 · jupyter-book/jupyter-book · GitHub
[go: up one dir, main page]

Skip to content
Plotly cannot render LaTeX #2059
@yuxi-liu-wired

Description

@yuxi-liu-wired

Minimal example:

import plotly.graph_objects as go
fig = go.Figure( go.Scatter(x=[1,2,3], y=[1,3,2] ) )
fig.add_annotation(text=r'$E=mc^2$', showarrow=False, font=dict(size=20))
fig.show()

Put it into a ipynb notebook, then try to render it with jupyter-book build ..

On Chrome it gives error Javascript Error: Cannot read properties of undefined (reading 'output'). On Firefox it gives error Javascript Error: MathJax.config.startup is undefined

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0