Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 397870b

Browse filesBrowse files
committed
prune 'transforms' attribute from traces that don't support it
1 parent da03ceb commit 397870b
Copy full SHA for 397870b

File tree

Expand file treeCollapse file tree

10 files changed

+16
-4
lines changed
Filter options
Expand file treeCollapse file tree

10 files changed

+16
-4
lines changed

‎src/traces/carpet/attributes.js

Copy file name to clipboardExpand all lines: src/traces/carpet/attributes.js
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,4 +127,5 @@ module.exports = {
127127
'Individual pieces can override this.'
128128
].join(' ')
129129
},
130+
transforms: undefined
130131
};

‎src/traces/cone/attributes.js

Copy file name to clipboardExpand all lines: src/traces/cone/attributes.js
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,4 +180,6 @@ attrs.hoverinfo = extendFlat({}, baseAttrs.hoverinfo, {
180180
dflt: 'x+y+z+norm+text+name'
181181
});
182182

183+
attrs.transforms = undefined;
184+
183185
module.exports = attrs;

‎src/traces/contourcarpet/attributes.js

Copy file name to clipboardExpand all lines: src/traces/contourcarpet/attributes.js
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,8 @@ module.exports = extendFlat({
9090
].join(' ')
9191
}),
9292
editType: 'plot'
93-
}
93+
},
94+
transforms: undefined
9495
},
9596

9697
colorscaleAttrs('', {

‎src/traces/heatmap/attributes.js

Copy file name to clipboardExpand all lines: src/traces/heatmap/attributes.js
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ module.exports = extendFlat({
111111
'https://github.com/d3/d3-format/blob/master/README.md#locale_format'
112112
].join(' ')
113113
},
114+
transforms: undefined
114115
},
115116
colorscaleAttrs('', {
116117
cLetter: 'z',

‎src/traces/mesh3d/attributes.js

Copy file name to clipboardExpand all lines: src/traces/mesh3d/attributes.js
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ module.exports = extendFlat({
165165
'Overrides *color* and *vertexcolor*.'
166166
].join(' ')
167167
},
168+
transforms: undefined
168169
},
169170

170171
colorscaleAttrs('', {

‎src/traces/pointcloud/attributes.js

Copy file name to clipboardExpand all lines: src/traces/pointcloud/attributes.js
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,5 +141,6 @@ module.exports = {
141141
editType: 'calc'
142142
},
143143
editType: 'calc'
144-
}
144+
},
145+
transforms: undefined
145146
};

‎src/traces/sankey/attributes.js

Copy file name to clipboardExpand all lines: src/traces/sankey/attributes.js
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ var domainAttrs = require('../../plots/domain').attributes;
1717
var extendFlat = require('../../lib/extend').extendFlat;
1818
var overrideAll = require('../../plot_api/edit_types').overrideAll;
1919

20-
module.exports = overrideAll({
20+
var attrs = module.exports = overrideAll({
2121
hoverinfo: extendFlat({}, plotAttrs.hoverinfo, {
2222
flags: [],
2323
arrayOk: false,
@@ -219,3 +219,4 @@ module.exports = overrideAll({
219219
description: 'The links of the Sankey plot.'
220220
}
221221
}, 'calc', 'nested');
222+
attrs.transforms = undefined;

‎src/traces/streamtube/attributes.js

Copy file name to clipboardExpand all lines: src/traces/streamtube/attributes.js
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,4 +152,6 @@ attrs.hoverinfo = extendFlat({}, baseAttrs.hoverinfo, {
152152
dflt: 'x+y+z+norm+text+name'
153153
});
154154

155+
attrs.transforms = undefined;
156+
155157
module.exports = attrs;

‎src/traces/surface/attributes.js

Copy file name to clipboardExpand all lines: src/traces/surface/attributes.js
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,3 +256,4 @@ colorscaleAttrs('', {
256256
}), 'calc', 'nested');
257257

258258
attrs.x.editType = attrs.y.editType = attrs.z.editType = 'calc+clearAxisTypes';
259+
attrs.transforms = undefined;

‎src/traces/table/attributes.js

Copy file name to clipboardExpand all lines: src/traces/table/attributes.js
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ var overrideAll = require('../../plot_api/edit_types').overrideAll;
1414
var fontAttrs = require('../../plots/font_attributes');
1515
var domainAttrs = require('../../plots/domain').attributes;
1616

17-
module.exports = overrideAll({
17+
var attrs = module.exports = overrideAll({
1818
domain: domainAttrs({name: 'table', trace: true}),
1919

2020
columnwidth: {
@@ -198,3 +198,4 @@ module.exports = overrideAll({
198198
font: extendFlat({}, fontAttrs({arrayOk: true}))
199199
}
200200
}, 'calc', 'from-root');
201+
attrs.transforms = undefined;

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.