Skip to content

Commit 77bf53f

Browse files
committed
#581 tests for cauto
1 parent 4760696 commit 77bf53f

5 files changed

+42
-5
lines changed
Loading
Loading
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"data": [{
3+
"x":[-4,-3,-2,-1,0,1,2,3,4,5,6],
4+
"y":[7,5,6,4,2,3,1,3,-1,-4,-2],
5+
"z":[2,3,4,5,4,3,2,1,0,-1,-2],
6+
"mode": "markers",
7+
"type":"scatter3d",
8+
"marker": {
9+
"color": [-2,-1,0,1,2,3,4,5,6,7,8],
10+
"colorscale": "Greens",
11+
"cmin": 2,
12+
"cmax": 4,
13+
"cauto": true
14+
}
15+
}],
16+
"layout": {
17+
"title": "cmin/cmax onstrained yet cauto'd custom palette",
18+
"height":758,
19+
"width":1310
20+
}
21+
}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"data": [{
3+
"x":[-4,-3,-2,-1,0,1,2,3,4,5,6],
4+
"y":[7,5,6,4,2,3,1,3,-1,-4,-2],
5+
"z":[2,3,4,5,4,3,2,1,0,-1,-2],
6+
"mode": "markers",
7+
"type":"scatter3d",
8+
"marker": {
9+
"color": [-2,-1,0,1,2,3,4,5,6,7,8],
10+
"cmin": 2,
11+
"cmax": 4,
12+
"cauto": true
13+
}
14+
}],
15+
"layout": {
16+
"title": "cmin/cmax onstrained yet cauto'd default palette",
17+
"height":758,
18+
"width":1310
19+
}
20+
}

test/jasmine/karma.conf.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,7 @@ func.defaultConfig = {
4545
// N.B. this field is filled below
4646
files: [],
4747

48-
exclude: [
49-
'tests/gl_plot_interact_test.js',
50-
'tests/gl_plot_interact_basic_test.js',
51-
'tests/gl2d_scatterplot_contour_test.js'
52-
],
48+
exclude: [],
5349

5450
// preprocess matching files before serving them to the browser
5551
// available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor

0 commit comments

Comments
 (0)