Skip to content

Commit f2cbc23

Browse files
committed
add mathjax subtitle and title to ternary-mathjax
1 parent 15754fa commit f2cbc23

File tree

3 files changed

+7
-10
lines changed

3 files changed

+7
-10
lines changed
1.54 KB
Loading
1.94 KB
Loading

test/image/mocks/ternary-mathjax.json

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -48,16 +48,13 @@
4848
}
4949
}
5050
},
51-
"annotations": [
52-
{
53-
"showarrow": false,
54-
"text": "Simple Ternary Plot with Markers",
55-
"x": 0.5,
56-
"y": 1.3,
57-
"font": {
58-
"size": 15
59-
}
51+
"width": 600,
52+
"height": 600,
53+
"title": {
54+
"text": "Simple Ternary Plot with Markers",
55+
"subtitle": {
56+
"text": "$y = ax^2 + bx + c$"
6057
}
61-
]
58+
}
6259
}
6360
}

0 commit comments

Comments
 (0)