Skip to content

Commit 01efcf5

Browse files
committed
add inside and outside ticklabelposition options to mocks
1 parent a83d5af commit 01efcf5

10 files changed

+23
-2
lines changed
2.32 KB
Loading
1.91 KB
Loading
Loading
405 Bytes
Loading
Loading

test/image/mocks/geo_country-names.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -391,6 +391,12 @@
391391
],
392392
"zmin": 0.1,
393393
"zmax": 17.5,
394+
"colorbar": {
395+
"dtick": 1,
396+
"ticks": "inside",
397+
"ticklen": 16,
398+
"ticklabelposition": "inside bottom"
399+
},
394400
"colorscale": [
395401
[
396402
0,

test/image/mocks/geo_custom-colorscale.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@
1616
60,
1717
40
1818
],
19+
"colorbar": {
20+
"ticks": "inside",
21+
"ticklen": 16,
22+
"ticklabelposition": "inside bottom"
23+
},
1924
"colorscale": "Greens",
2025
"reversescale": true,
2126
"zmin": 0,

test/image/mocks/gl2d_parcoords_rgba_colorscale.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@
3232
"rgba(0,0,255,1)"
3333
]
3434
],
35+
"colorbar": {
36+
"ticks": "inside",
37+
"ticklabelposition": "inside"
38+
},
3539
"showscale": true
3640
},
3741
"type": "parcoords"

test/image/mocks/gl3d_coloraxes.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1247,15 +1247,19 @@
12471247
"colorscale": "Viridis",
12481248
"colorbar": {
12491249
"x": -0.1,
1250-
"xanchor": "right"
1250+
"xanchor": "right",
1251+
"ticks": "inside",
1252+
"ticklabelposition": "inside bottom"
12511253
}
12521254
},
12531255
"coloraxis2": {
12541256
"colorscale": "Viridis",
12551257
"reversescale": true,
12561258
"colorbar": {
12571259
"x": 1.1,
1258-
"xanchor": "left"
1260+
"xanchor": "left",
1261+
"ticks": "outside",
1262+
"ticklabelposition": "outside bottom"
12591263
}
12601264
}
12611265
}

test/image/mocks/gl3d_scatter3d-colorscale-marker-and-line.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"len": 0.5,
1515
"y": 1,
1616
"yanchor": "top",
17+
"ticklabelposition": "inside",
1718
"title": {"text": "line colorscale", "side": "right"}
1819
}
1920
},
@@ -25,6 +26,7 @@
2526
"len": 0.5,
2627
"y": 0,
2728
"yanchor": "bottom",
29+
"ticklabelposition": "inside",
2830
"title": {"text": "marker colorscale", "side": "right"}
2931
}
3032

0 commit comments

Comments
 (0)