Skip to content

Commit 2b75c3c

Browse files
committed
improve tests using html-like tags
1 parent fc659e7 commit 2b75c3c

9 files changed

+12
-12
lines changed
110 Bytes
Loading
470 Bytes
Loading
118 Bytes
Loading

test/image/baselines/smith_blank.png

52 Bytes
Loading

test/image/mocks/carpet_grid_dash.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"minorgriddash": "dash"
3838
},
3939
"baxis": {
40-
"labelalias": { "0": "ZERO" },
40+
"labelalias": { "0": "ZERO<sup>2</sup>" },
4141
"minorgridcount": 3,
4242
"gridcolor": "black",
4343
"minorgridcolor": "red",

test/image/mocks/grid_subplot_types.json

+8-8
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,18 @@
1717
"yanchor": "bottom",
1818
"y": 0,
1919
"len": 0.3,
20-
"labelalias": {"2": "TWO"}
20+
"labelalias": {"2": "TWO<sup>2</sup>"}
2121
}}
2222
],
2323
"layout": {
24-
"xaxis": {"title": {"text": "x"}, "labelalias": {"0": "ZERO"}},
25-
"xaxis2": {"title": {"text": "x2"}, "labelalias": {"0": "ZERO"}},
26-
"yaxis": {"title": {"text": "y"}, "labelalias": {"0": "ZERO"}},
27-
"yaxis2": {"title": {"text": "y2"}, "labelalias": {"0": "ZERO"}},
28-
"xaxis3": {"title": {"text": "x3"}, "labelalias": {"0": "ZERO"}},
29-
"yaxis3": {"title": {"text": "y3"}, "labelalias": {"0": "ZERO"}},
24+
"xaxis": {"title": {"text": "x"}, "labelalias": {"0": "ZERO<sup>2</sup>"}},
25+
"xaxis2": {"title": {"text": "x2"}, "labelalias": {"0": "ZERO<sup>2</sup>"}},
26+
"yaxis": {"title": {"text": "y"}, "labelalias": {"0": "ZERO<sup>2</sup>"}},
27+
"yaxis2": {"title": {"text": "y2"}, "labelalias": {"0": "ZERO<sup>2</sup>"}},
28+
"xaxis3": {"title": {"text": "x3"}, "labelalias": {"0": "ZERO<sup>2</sup>"}},
29+
"yaxis3": {"title": {"text": "y3"}, "labelalias": {"0": "ZERO<sup>2</sup>"}},
3030
"grid": {"rows": 3, "columns": 3, "xgap": 0.3, "ygap": 0.3},
31-
"scene": {"domain": {"row": 1, "column": 1}, "zaxis": {"labelalias": {"2": "TWO"}}},
31+
"scene": {"domain": {"row": 1, "column": 1}, "zaxis": {"labelalias": {"2": "TWO<sup>2</sup>"}}},
3232
"ternary": {"domain": {"row": 1, "column": 2}, "caxis": {"labelalias": {"1": "ONE"}}},
3333
"geo": {"domain": {"row": 2, "column": 1}},
3434
"width": 700,

test/image/mocks/indicator_bullet.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"shape": "bullet",
1616
"axis": {
1717
"labelalias": {
18-
"0": "ZERO"
18+
"0": "ZERO<sup>2</sup>"
1919
},
2020
"range": [null, 300]
2121
},

test/image/mocks/polar_blank.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"y": [0.56, 1]
3535
},
3636
"angularaxis": {
37-
"labelalias": { "0": "ZERO" }
37+
"labelalias": { "0": "ZERO<sup>2</sup>" }
3838
},
3939
"radialaxis": {
4040
"title": {"text": "blank"},

test/image/mocks/smith_blank.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"y": [0.56, 1]
4343
},
4444
"imaginaryaxis": {
45-
"labelalias": { "0": "ZERO" }
45+
"labelalias": { "0": "ZERO<sup>2</sup>" }
4646
},
4747
"realaxis": {
4848
"side": "top"

0 commit comments

Comments
 (0)