File tree Expand file tree Collapse file tree 2 files changed +3
-20
lines changed Expand file tree Collapse file tree 2 files changed +3
-20
lines changed Original file line number Diff line number Diff line change 10
10
11
11
var isNumeric = require ( 'fast-isnumeric' ) ;
12
12
13
- // var Lib = require('@src/lib');
14
13
var Lib = require ( '../lib' ) ;
15
14
16
- /* eslint no-unused-vars: 0*/
17
-
18
- // so that Plotly.register knows what to do with it
19
15
exports . moduleType = 'transform' ;
20
16
21
- // determines to link between transform type and transform module
22
17
exports . name = 'filter' ;
23
18
24
- // ... as trace attributes
25
19
exports . attributes = {
26
20
operation : {
27
21
valType : 'enumerated' ,
@@ -35,11 +29,7 @@ exports.attributes = {
35
29
filtersrc : {
36
30
valType : 'enumerated' ,
37
31
values : [ 'x' , 'y' , 'ids' ] ,
38
- dflt : 'x' ,
39
- ids : {
40
- valType : 'data_array' ,
41
- description : 'A list of keys for object constancy of data points during animation'
42
- }
32
+ dflt : 'x'
43
33
}
44
34
} ;
45
35
@@ -56,7 +46,7 @@ exports.attributes = {
56
46
* @return {object } transformOut
57
47
* copy of transformIn that contains attribute defaults
58
48
*/
59
- exports . supplyDefaults = function ( transformIn , fullData , layout ) {
49
+ exports . supplyDefaults = function ( transformIn ) {
60
50
var transformOut = { } ;
61
51
62
52
function coerce ( attr , dflt ) {
Original file line number Diff line number Diff line change 8
8
9
9
'use strict' ;
10
10
11
- // var Lib = require('@src/lib');
12
11
var Lib = require ( '../lib' ) ;
13
12
14
- /* eslint no-unused-vars: 0*/
15
-
16
-
17
- // so that Plotly.register knows what to do with it
18
13
exports . moduleType = 'transform' ;
19
14
20
- // determines to link between transform type and transform module
21
15
exports . name = 'groupby' ;
22
16
23
- // ... as trace attributes
24
17
exports . attributes = {
25
18
active : {
26
19
valType : 'boolean' ,
@@ -49,7 +42,7 @@ exports.attributes = {
49
42
* @return {object } transformOut
50
43
* copy of transformIn that contains attribute defaults
51
44
*/
52
- exports . supplyDefaults = function ( transformIn , fullData , layout ) {
45
+ exports . supplyDefaults = function ( transformIn ) {
53
46
var transformOut = { } ;
54
47
55
48
function coerce ( attr , dflt ) {
You can’t perform that action at this time.
0 commit comments