@@ -19,7 +19,7 @@ var gridAttrs = exports.attributes = {
19
19
valType : 'integer' ,
20
20
min : 1 ,
21
21
role : 'info' ,
22
- editType : 'calc ' ,
22
+ editType : 'plot ' ,
23
23
description : [
24
24
'The number of rows in the grid. If you provide a 2D `subplots`' ,
25
25
'array or a `yaxes` array, its length is used as the default.' ,
@@ -32,7 +32,7 @@ var gridAttrs = exports.attributes = {
32
32
values : [ 'top to bottom' , 'bottom to top' ] ,
33
33
dflt : 'top to bottom' ,
34
34
role : 'info' ,
35
- editType : 'calc ' ,
35
+ editType : 'plot ' ,
36
36
description : [
37
37
'Is the first row the top or the bottom? Note that columns' ,
38
38
'are always enumerated from left to right.'
@@ -42,7 +42,7 @@ var gridAttrs = exports.attributes = {
42
42
valType : 'integer' ,
43
43
min : 1 ,
44
44
role : 'info' ,
45
- editType : 'calc ' ,
45
+ editType : 'plot ' ,
46
46
description : [
47
47
'The number of columns in the grid. If you provide a 2D `subplots`' ,
48
48
'array, the length of its longest row is used as the default.' ,
@@ -57,7 +57,7 @@ var gridAttrs = exports.attributes = {
57
57
dimensions : 2 ,
58
58
items : { valType : 'enumerated' , values : [ counterRegex ( 'xy' ) . toString ( ) , '' ] } ,
59
59
role : 'info' ,
60
- editType : 'calc ' ,
60
+ editType : 'plot ' ,
61
61
description : [
62
62
'Used for freeform grids, where some axes may be shared across subplots' ,
63
63
'but others are not. Each entry should be a cartesian subplot id, like' ,
@@ -72,7 +72,7 @@ var gridAttrs = exports.attributes = {
72
72
freeLength : true ,
73
73
items : { valType : 'enumerated' , values : [ cartesianIdRegex . x . toString ( ) , '' ] } ,
74
74
role : 'info' ,
75
- editType : 'calc ' ,
75
+ editType : 'plot ' ,
76
76
description : [
77
77
'Used with `yaxes` when the x and y axes are shared across columns and rows.' ,
78
78
'Each entry should be an x axis id like *x*, *x2*, etc., or ** to' ,
@@ -86,7 +86,7 @@ var gridAttrs = exports.attributes = {
86
86
freeLength : true ,
87
87
items : { valType : 'enumerated' , values : [ cartesianIdRegex . y . toString ( ) , '' ] } ,
88
88
role : 'info' ,
89
- editType : 'calc ' ,
89
+ editType : 'plot ' ,
90
90
description : [
91
91
'Used with `yaxes` when the x and y axes are shared across columns and rows.' ,
92
92
'Each entry should be an y axis id like *y*, *y2*, etc., or ** to' ,
@@ -100,7 +100,7 @@ var gridAttrs = exports.attributes = {
100
100
values : [ 'independent' , 'coupled' ] ,
101
101
dflt : 'coupled' ,
102
102
role : 'info' ,
103
- editType : 'calc ' ,
103
+ editType : 'plot ' ,
104
104
description : [
105
105
'If no `subplots`, `xaxes`, or `yaxes` are given but we do have `rows` and `columns`,' ,
106
106
'we can generate defaults using consecutive axis IDs, in two ways:' ,
@@ -114,7 +114,7 @@ var gridAttrs = exports.attributes = {
114
114
min : 0 ,
115
115
max : 1 ,
116
116
role : 'info' ,
117
- editType : 'calc ' ,
117
+ editType : 'plot ' ,
118
118
description : [
119
119
'Horizontal space between grid cells, expressed as a fraction' ,
120
120
'of the total width available to one cell. Defaults to 0.1' ,
@@ -126,14 +126,14 @@ var gridAttrs = exports.attributes = {
126
126
min : 0 ,
127
127
max : 1 ,
128
128
role : 'info' ,
129
- editType : 'calc ' ,
129
+ editType : 'plot ' ,
130
130
description : [
131
131
'Vertical space between grid cells, expressed as a fraction' ,
132
132
'of the total height available to one cell. Defaults to 0.1' ,
133
133
'for coupled-axes grids and 0.3 for independent grids.'
134
134
] . join ( ' ' )
135
135
} ,
136
- domain : domainAttrs ( { name : 'grid' , editType : 'calc ' , noGridCell : true } , {
136
+ domain : domainAttrs ( { name : 'grid' , editType : 'plot ' , noGridCell : true } , {
137
137
description : [
138
138
'The first and last cells end exactly at the domain' ,
139
139
'edges, with no grout around the edges.'
@@ -163,7 +163,7 @@ var gridAttrs = exports.attributes = {
163
163
'that each y axis is used in. *right* and *right plot* are similar.'
164
164
] . join ( ' ' )
165
165
} ,
166
- editType : 'calc '
166
+ editType : 'plot '
167
167
} ;
168
168
169
169
// the shape of the grid - this needs to be done BEFORE supplyDataDefaults
0 commit comments