Skip to content

Commit 3c5d208

Browse files
committed
test image trace with inside ticklabels
1 parent 0dd5467 commit 3c5d208

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

test/image/mocks/ticklabelposition-3.json

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,15 @@
2828
}, {
2929
"xaxis": "x3",
3030
"yaxis": "y3",
31-
"type": "scatter",
32-
"mode": "lines",
33-
"x": [-100, 0, 100],
34-
"y": [-100, 0, 100]
31+
"type": "image",
32+
"z": [
33+
[[255, 0, 0], [255, 255, 0], [0, 255, 0], [0, 255, 255], [0, 0, 255], [255, 0, 255]],
34+
[[255, 255, 0], [0, 255, 0], [0, 255, 255], [0, 0, 255], [255, 0, 255], [255, 0, 0]],
35+
[[0, 255, 0], [0, 255, 255], [0, 0, 255], [255, 0, 255], [255, 0, 0], [255, 255, 0]],
36+
[[0, 255, 255], [0, 0, 255], [255, 0, 255], [255, 0, 0], [255, 255, 0], [0, 255, 0]],
37+
[[0, 0, 255], [255, 0, 255], [255, 0, 0], [255, 255, 0], [0, 255, 0], [0, 255, 255]],
38+
[[255, 0, 255], [255, 0, 0], [255, 255, 0], [0, 255, 0], [0, 255, 255], [0, 0, 255]]
39+
]
3540
}, {
3641
"xaxis": "x4",
3742
"yaxis": "y4",

0 commit comments

Comments
 (0)