Skip to content

Commit 40de0d2

Browse files
committed
Merge branch 'master' into click-event-madness
2 parents 5b59a6e + 1991934 commit 40de0d2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+2946
-336
lines changed
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
{
2+
"data": [
3+
{
4+
"y": [
5+
-5,
6+
-1,
7+
1
8+
],
9+
"x": [
10+
-1,
11+
0,
12+
1
13+
],
14+
"uid": "e95128"
15+
}
16+
],
17+
"layout": {
18+
"xaxis": {
19+
"linecolor": "rgb(10, 10, 10)",
20+
"gridcolor": "rgb(200, 200, 200)",
21+
"zerolinecolor": "rgb(10, 10, 10)",
22+
"type": "linear",
23+
"range": [
24+
-1.122244488977956,
25+
1.122244488977956
26+
],
27+
"autorange": true
28+
},
29+
"yaxis": {
30+
"linecolor": "rgb(10, 10, 10)",
31+
"gridcolor": "rgb(200, 200, 200)",
32+
"zerolinecolor": "rgb(10, 10, 10)",
33+
"type": "linear",
34+
"range": [
35+
-5.439490445859873,
36+
1.4394904458598727
37+
],
38+
"autorange": true
39+
},
40+
"height": 450,
41+
"width": 1000,
42+
"autosize": true
43+
}
44+
}
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
{
2+
"data": [
3+
{
4+
"y": [
5+
-5,
6+
-1,
7+
1
8+
],
9+
"x": [
10+
-1,
11+
0,
12+
1
13+
],
14+
"uid": "e9539e"
15+
}
16+
],
17+
"layout": {
18+
"xaxis": {
19+
"linewidth": 2,
20+
"gridwidth": 2,
21+
"zerolinewidth": 4,
22+
"type": "linear",
23+
"range": [
24+
-1.122244488977956,
25+
1.122244488977956
26+
],
27+
"autorange": true
28+
},
29+
"yaxis": {
30+
"linewidth": 2,
31+
"gridwidth": 2,
32+
"zerolinewidth": 4,
33+
"type": "linear",
34+
"range": [
35+
-5.439490445859873,
36+
1.4394904458598727
37+
],
38+
"autorange": true
39+
},
40+
"height": 450,
41+
"width": 1000,
42+
"autosize": true
43+
}
44+
}
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
{
2+
"data": [
3+
{
4+
"y": [
5+
-1,
6+
0,
7+
-2
8+
],
9+
"x": [
10+
1,
11+
2,
12+
3
13+
],
14+
"uid": "02de62"
15+
}
16+
],
17+
"layout": {
18+
"xaxis": {
19+
"tickwidth": 2,
20+
"tickcolor": "blue",
21+
"ticklen": 4,
22+
"type": "linear",
23+
"range": [
24+
0.8777555110220441,
25+
3.122244488977956
26+
],
27+
"autorange": true
28+
},
29+
"yaxis": {
30+
"tickwidth": 2,
31+
"tickcolor": "blue",
32+
"ticklen": 4,
33+
"type": "linear",
34+
"range": [
35+
-2.1464968152866244,
36+
0.1464968152866242
37+
],
38+
"autorange": true
39+
},
40+
"height": 450,
41+
"width": 1000,
42+
"autosize": true
43+
}
44+
}
21.3 KB
Loading
22.3 KB
Loading
23.8 KB
Loading

shelly/plotlyjs/static/plotlyjs/package.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,19 @@
1616
"d3": "3.3.5",
1717
"delaunay-triangulate": "^1.1.6",
1818
"es6-promise": "^3.0.2",
19+
"gl-error2d": "^1.0.0",
1920
"gl-error3d": "^1.0.0",
21+
"gl-line2d": "^1.2.1",
2022
"gl-line3d": "^1.0.1",
2123
"gl-mat4": "^1.1.2",
2224
"gl-mesh3d": "^1.0.4",
25+
"gl-plot2d": "^1.1.6",
2326
"gl-plot3d": "^1.3.0",
27+
"gl-scatter2d": "^1.0.5",
28+
"gl-scatter2d-fancy": "^1.1.1",
2429
"gl-scatter3d": "^1.0.4",
30+
"gl-select-box": "^1.0.1",
31+
"gl-spikes2d": "^1.0.1",
2532
"gl-surface3d": "^1.0.6",
2633
"mouse-change": "^1.1.1",
2734
"mouse-wheel": "^1.0.2",
@@ -30,6 +37,7 @@
3037
"ndarray-homography": "^1.0.0",
3138
"ndarray-ops": "^1.2.2",
3239
"right-now": "^1.0.0",
40+
"robust-orientation": "^1.1.3",
3341
"superscript-text": "^1.0.0",
3442
"through2": "^2.0.0",
3543
"tinycolor2": "1.1.2",

shelly/plotlyjs/static/plotlyjs/src/annotations.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -603,7 +603,7 @@ annotations.draw = function(gd, index, opt, value) {
603603
.style('opacity', options.opacity)
604604
.on('click', function() {
605605
gd._dragging = false;
606-
$(gd).trigger('plotly_clickannotation', {
606+
gd.emit('plotly_clickannotation', {
607607
index: index,
608608
annotation: optionsIn,
609609
fullAnnotation: options

0 commit comments

Comments
 (0)