Skip to content

Commit d310bd4

Browse files
committed
Merge pull request #2297 from plotly/nan-hole-regression
add test case for holes in surface plots
2 parents 29f9ad0 + 6e30368 commit d310bd4

File tree

4 files changed

+60
-1
lines changed

4 files changed

+60
-1
lines changed

test-dashboard/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"license": "ISC",
1212
"dependencies": {
1313
"glob": "^5.0.15",
14-
"plotly": "^1.0.2"
14+
"plotly": "^1.0.2",
15+
"progress": "^1.1.8"
1516
}
1617
}

test-dashboard/test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,6 @@ plots['chrisp-nan-1'] = require('./testplots/chrisp-nan-1.json');
3232
plots['marker-arrays'] = require('./testplots/marker-arrays.json');
3333
plots['scatter3d-colorscale'] = require('./testplots/scatter3d-colorscale.json');
3434
plots['autocolorscale'] = require('./testplots/autocolorscale.json');
35+
plots['nan-holes'] = require('./testplots/nan-holes.json');
3536

3637
plotButtons(plots, './testplots/');
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
{
2+
"data": [
3+
{
4+
"z": [
5+
[
6+
null,
7+
null,
8+
3,
9+
3,
10+
null,
11+
null
12+
],
13+
[
14+
null,
15+
null,
16+
3,
17+
3,
18+
null,
19+
null
20+
],
21+
[
22+
5,
23+
5,
24+
null,
25+
null,
26+
5,
27+
5
28+
],
29+
[
30+
5,
31+
5,
32+
null,
33+
null,
34+
5,
35+
5
36+
],
37+
[
38+
3,
39+
3,
40+
3,
41+
3,
42+
3,
43+
3
44+
],
45+
[
46+
3,
47+
3,
48+
3,
49+
3,
50+
3,
51+
3
52+
]
53+
],
54+
"type": "surface"
55+
}
56+
]
57+
}
61.4 KB
Loading

0 commit comments

Comments
 (0)