Skip to content

Commit 8134a61

Browse files
committed
take out SET_OPS from constraint operations
it never worked in contourcarpet, was left in accidentally I guess
1 parent 78c5964 commit 8134a61

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/traces/contour/attributes.js

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ var extendFlat = require('../../lib/extend').extendFlat;
1919
var filterOps = require('../../constants/filter_ops');
2020
var COMPARISON_OPS2 = filterOps.COMPARISON_OPS2;
2121
var INTERVAL_OPS = filterOps.INTERVAL_OPS;
22-
var SET_OPS = filterOps.SET_OPS;
2322

2423
var scatterLineAttrs = scatterAttrs.line;
2524

@@ -186,7 +185,7 @@ module.exports = extendFlat({
186185
},
187186
operation: {
188187
valType: 'enumerated',
189-
values: [].concat(COMPARISON_OPS2).concat(INTERVAL_OPS).concat(SET_OPS),
188+
values: [].concat(COMPARISON_OPS2).concat(INTERVAL_OPS),
190189
role: 'info',
191190
dflt: '=',
192191
editType: 'calc',
@@ -231,11 +230,6 @@ module.exports = extendFlat({
231230
'(' + INTERVAL_OPS + ')',
232231
'*value* is expected to be 2-item array where the first item',
233232
'is the lower bound and the second item is the upper bound.',
234-
235-
'When `operation`, is set to one of the set value',
236-
'(' + SET_OPS + ')',
237-
'*value* is expected to be an array with as many items as',
238-
'the desired set elements.'
239233
].join(' ')
240234
},
241235
editType: 'calc',

0 commit comments

Comments
 (0)