Skip to content

Commit acf5d7b

Browse files
committed
Reenable Latex legend names in MathJax mock
1 parent 1482077 commit acf5d7b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/image/mocks/mathjax.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,18 @@
44
"y": [0, 1.414],
55
"text": ["Hx+yH", "H\\sqrt{2}H"],
66
"mode": "text+markers",
7-
"name": "HE^2=m^2c^4+p^2c^2H"
7+
"name": "$E^2=m^2c^4+p^2c^2$"
88
}, {
99
"x": [0, 1],
1010
"y": [1.4, 0.1],
1111
"text": ["H1.400 \\pm 0.023H", "H0.100 \\pm 0.002H"],
1212
"textposition": "auto",
1313
"type": "bar",
14-
"name": "Hx=\\frac{-b \\pm \\sqrt{b^2-4ac}}{2a}H"
14+
"name": "$x=\\frac{-b \\pm \\sqrt{b^2-4ac}}{2a}$"
1515
}, {
1616
"type": "pie",
1717
"values": [1, 9],
18-
"labels": ["H\\frac{1}{10}=10\\%H", "H\\frac{9}{10}=90\\%H"],
18+
"labels": ["$\\frac{1}{10}=10\\%$", "$\\frac{9}{10}=90\\%$"],
1919
"textinfo": "label",
2020
"domain": {"x": [0.3, 0.75], "y": [0.55, 1]}
2121
}, {

0 commit comments

Comments
 (0)