latex in labels with nbsphinx_assume_equations FalseΒΆ

this notebook has just latex in its labels also, nbsphinx_assume_equations is False in conf.py

[1]:
import numpy as np
x = np.linspace(0, 2*np.pi, 300)
y = np.sin(x**2)

import plotly.graph_objects as go
fig = go.Figure(go.Scatter(
    y=y,
    x=x,
))

fig.update_layout(
    yaxis_title= r"$sin(x^2)$",
    xaxis_title= r"$x$",
)
fig.show()
[ ]: