Skip to content

Commit 082bfc1

Browse files
authored
Merge pull request #1633 from plotly/gl2d-new-baselines
Fix gl2d cross / square marker symbol offset
2 parents e860999 + 9efdfc8 commit 082bfc1

22 files changed

+54
-1
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
"gl-plot3d": "^1.5.4",
7575
"gl-pointcloud2d": "^1.0.0",
7676
"gl-scatter2d": "^1.2.2",
77-
"gl-scatter2d-sdf": "1.3.4",
77+
"gl-scatter2d-sdf": "^1.3.9",
7878
"gl-scatter3d": "^1.0.4",
7979
"gl-select-box": "^1.0.1",
8080
"gl-shader": "4.2.0",

test/image/baselines/gl2d_10.png

-65 Bytes
Loading

test/image/baselines/gl2d_12.png

-587 Bytes
Loading

test/image/baselines/gl2d_14.png

600 Bytes
Loading

test/image/baselines/gl2d_17.png

199 Bytes
Loading
-641 Bytes
Loading
-233 Bytes
Loading
-333 Bytes
Loading
-81 Bytes
Loading
16 Bytes
Loading
-356 Bytes
Loading
-99 Bytes
Loading
-151 Bytes
Loading
13.2 KB
Loading
-113 Bytes
Loading
Loading
Loading
-105 Bytes
Loading
-130 Bytes
Loading
Loading
-63 Bytes
Loading
+53
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
{
2+
"data": [
3+
{
4+
"type": "scattergl",
5+
"x": [1, 2, 3, 4, 5, 6, 7],
6+
"y": [1, 1, 1, 1, 1, 1, 1],
7+
"mode": "markers",
8+
"text": [
9+
"marker symbol: 'circle'",
10+
"marker symbol: 'circle-open'",
11+
"marker symbol: 'square'",
12+
"marker symbol: 'square-open'",
13+
"marker symbol: 'diamond'",
14+
"marker symbol: 'diamond-open'",
15+
"marker symbol: 'cross'"
16+
],
17+
"marker": {
18+
"color": "blue",
19+
"size": 20,
20+
"symbol": [
21+
"circle",
22+
"circle-open",
23+
"square",
24+
"square-open",
25+
"diamond",
26+
"diamond-open",
27+
"cross"
28+
],
29+
"line": {
30+
"color": "orange",
31+
"width": 1.5
32+
}
33+
}
34+
}
35+
],
36+
"layout": {
37+
"width": 500,
38+
"height": 500,
39+
"xaxis": {
40+
"zeroline": false,
41+
"showline": false,
42+
"showticklabels": false,
43+
"range": [0, 10]
44+
},
45+
"yaxis": {
46+
"zeroline": false,
47+
"showline": false,
48+
"showticklabels": false,
49+
"range": [0, 6]
50+
},
51+
"hovermode": "closest"
52+
}
53+
}

0 commit comments

Comments
 (0)