Skip to content

Commit fe8e096

Browse files
committed
Fix formatting using biome
1 parent 8f361a2 commit fe8e096

13 files changed

+4098
-4468
lines changed

src/plots/cartesian/axes.js

Lines changed: 3710 additions & 4097 deletions
Large diffs are not rendered by default.

test/image/mocks/20.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,10 @@
3636
},
3737
{
3838
"x": [6, 7, 8],
39-
"y": [400000000000000000000000000000000, 500000000000000000000000000000000, 600000000000000000000000000000000],
39+
"y": [
40+
400000000000000000000000000000000, 500000000000000000000000000000000,
41+
600000000000000000000000000000000
42+
],
4043
"name": "yaxis6 data",
4144
"yaxis": "y6",
4245
"type": "scatter"
Lines changed: 45 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,47 @@
11
{
2-
"data": [
3-
{
4-
"type": "bar",
5-
"x": [ "A", "B", "C"],
6-
"y": [ 10, 10, 10 ],
7-
"offsetgroup": 1,
8-
"hovertext": "offsetgroup: 1"
9-
},
10-
{
11-
"type": "bar",
12-
"x": [ "A", "B", "C"],
13-
"y": [ 20, 20, 20 ],
14-
"offsetgroup": 1,
15-
"hovertext": "offsetgroup: 1"
16-
},
17-
{
18-
"type": "bar",
19-
"x": [ "A", "B", "C"],
20-
"y": [ 30, 30, 30 ],
21-
"offsetgroup": 2,
22-
"hovertext": "offsetgroup: 2"
23-
},
24-
{
25-
"type": "bar",
26-
"x": [ "A", "B", "C"],
27-
"y": [ 40, 40, 40 ],
28-
"offsetgroup": 2,
29-
"hovertext": "offsetgroup: 2"
30-
},
31-
{
32-
"type": "bar",
33-
"x": [ "A", "B", "C"],
34-
"y": [ -50, 50, 50 ],
35-
"offsetgroup": 2,
36-
"hovertext": "offsetgroup: 2"
37-
}
38-
],
39-
"layout": {
40-
"width": 600,
41-
"showlegend": false,
42-
"barmode": "relative",
43-
"title": {
44-
"text": "Separately stacked bars with barmode 'relative'"
45-
}
46-
}
2+
"data": [
3+
{
4+
"type": "bar",
5+
"x": ["A", "B", "C"],
6+
"y": [10, 10, 10],
7+
"offsetgroup": 1,
8+
"hovertext": "offsetgroup: 1"
9+
},
10+
{
11+
"type": "bar",
12+
"x": ["A", "B", "C"],
13+
"y": [20, 20, 20],
14+
"offsetgroup": 1,
15+
"hovertext": "offsetgroup: 1"
16+
},
17+
{
18+
"type": "bar",
19+
"x": ["A", "B", "C"],
20+
"y": [30, 30, 30],
21+
"offsetgroup": 2,
22+
"hovertext": "offsetgroup: 2"
23+
},
24+
{
25+
"type": "bar",
26+
"x": ["A", "B", "C"],
27+
"y": [40, 40, 40],
28+
"offsetgroup": 2,
29+
"hovertext": "offsetgroup: 2"
30+
},
31+
{
32+
"type": "bar",
33+
"x": ["A", "B", "C"],
34+
"y": [-50, 50, 50],
35+
"offsetgroup": 2,
36+
"hovertext": "offsetgroup: 2"
4737
}
38+
],
39+
"layout": {
40+
"width": 600,
41+
"showlegend": false,
42+
"barmode": "relative",
43+
"title": {
44+
"text": "Separately stacked bars with barmode 'relative'"
45+
}
46+
}
47+
}

test/image/mocks/gl3d_opacity-surface.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1554,7 +1554,7 @@
15541554
"up": {
15551555
"x": 0,
15561556
"y": 0,
1557-
"z":1
1557+
"z": 1
15581558
}
15591559
},
15601560
"bgcolor": "rgb(67, 67, 67)",

test/image/mocks/gl3d_surface-lighting.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -251,14 +251,14 @@
251251
"z": 1.2034077654395448
252252
},
253253
"center": {
254-
"x":0,
255-
"y":0,
256-
"z":0
254+
"x": 0,
255+
"y": 0,
256+
"z": 0
257257
},
258258
"up": {
259-
"x":0,
260-
"y":0,
261-
"z":1
259+
"x": 0,
260+
"y": 0,
261+
"z": 1
262262
}
263263
},
264264
"xaxis": {

test/image/mocks/map_layers.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@
189189
{
190190
"sourcetype": "raster",
191191
"source": [
192-
"https://basemap.nationalmap.gov/arcgis/services/USGSImageryOnly/MapServer/WMSServer?bbox={bbox-epsg-3857}&format=image/png&service=WMS&request=GetMap&crs=EPSG:3857&transparent=true&width=256&height=256&version=1.3.0&layers=0&styles=default"
192+
"https://basemap.nationalmap.gov/arcgis/services/USGSImageryOnly/MapServer/WMSServer?bbox={bbox-epsg-3857}&format=image/png&service=WMS&request=GetMap&crs=EPSG:3857&transparent=true&width=256&height=256&version=1.3.0&layers=0&styles=default"
193193
],
194194
"below": "aeroway-line"
195195
},
Lines changed: 41 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,44 @@
11
{
2-
"data": [
3-
{
4-
"x": ["A", "B", "C"],
5-
"y": [0, 40, 80],
6-
"type": "scatter"
7-
},
8-
{
9-
"x": ["A", "B", "C"],
10-
"y": [0, 40, 80],
11-
"type": "scatter",
12-
"xaxis": "x2",
13-
"yaxis": "y2"
14-
}
15-
],
16-
"layout": {
17-
"title": {
18-
"text": "The vertical grid lines in the subplots should be aligned."
19-
},
20-
"width": 600,
21-
"xaxis": {
22-
"anchor": "y"
23-
},
24-
"xaxis2": {
25-
"anchor": "y2"
26-
},
27-
"yaxis": {
28-
"range": [0, 80],
29-
"dtick": 20,
30-
"side": "right",
31-
"ticklabelposition": "inside",
32-
"anchor": "x",
33-
"domain": [0, 0.45]
34-
},
35-
"yaxis2": {
36-
"range": [0, 100],
37-
"dtick": 20,
38-
"side": "right",
39-
"ticklabelposition": "inside",
40-
"anchor": "x2",
41-
"domain": [0.55, 1]
42-
}
2+
"data": [
3+
{
4+
"x": ["A", "B", "C"],
5+
"y": [0, 40, 80],
6+
"type": "scatter"
7+
},
8+
{
9+
"x": ["A", "B", "C"],
10+
"y": [0, 40, 80],
11+
"type": "scatter",
12+
"xaxis": "x2",
13+
"yaxis": "y2"
4314
}
15+
],
16+
"layout": {
17+
"title": {
18+
"text": "The vertical grid lines in the subplots should be aligned."
19+
},
20+
"width": 600,
21+
"xaxis": {
22+
"anchor": "y"
23+
},
24+
"xaxis2": {
25+
"anchor": "y2"
26+
},
27+
"yaxis": {
28+
"range": [0, 80],
29+
"dtick": 20,
30+
"side": "right",
31+
"ticklabelposition": "inside",
32+
"anchor": "x",
33+
"domain": [0, 0.45]
34+
},
35+
"yaxis2": {
36+
"range": [0, 100],
37+
"dtick": 20,
38+
"side": "right",
39+
"ticklabelposition": "inside",
40+
"anchor": "x2",
41+
"domain": [0.55, 1]
42+
}
43+
}
4444
}

0 commit comments

Comments
 (0)