Skip to content

Commit 39639c0

Browse files
committed
🔪 now unused updateStyle method in transformed full traces
1 parent c9d92d7 commit 39639c0

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

src/transforms/groupby.js

-14
Original file line numberDiff line numberDiff line change
@@ -204,9 +204,6 @@ function transformOne(trace, state) {
204204
// Start with a deep extend that just copies array references.
205205
newTrace = newData[i] = Lib.extendDeepNoArrays({}, trace);
206206
newTrace._group = groupName;
207-
// helper function for when we need to push updates back to the input,
208-
// outside of the normal restyle/relayout pathway, like filling in auto values
209-
newTrace.updateStyle = styleUpdater(groupName, transformIndex);
210207
newTrace.transforms[transformIndex]._indexToPoints = {};
211208

212209
var suppliedName = null;
@@ -283,14 +280,3 @@ function transformOne(trace, state) {
283280

284281
return newData;
285282
}
286-
287-
function styleUpdater(groupName, transformIndex) {
288-
return function(trace, attr, value) {
289-
Lib.keyedContainer(
290-
trace,
291-
'transforms[' + transformIndex + '].styles',
292-
'target',
293-
'value.' + attr
294-
).set(String(groupName), value);
295-
};
296-
}

0 commit comments

Comments
 (0)