Skip to content

Commit c0089ea

Browse files
committed
Replace ad hoc solution with relinkPrivateKeys
1 parent 57dfe4a commit c0089ea

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/plots/plots.js

+1-4
Original file line numberDiff line numberDiff line change
@@ -811,10 +811,7 @@ plots.supplyDataDefaults = function(dataIn, dataOut, layout, fullLayout) {
811811
var expandedTrace = expandedTraces[j];
812812
var fullExpandedTrace = plots.supplyTraceDefaults(expandedTrace, cnt, fullLayout, i);
813813

814-
// The group key gets cleared. If set, pass it forward
815-
if(expandedTrace._group) {
816-
fullExpandedTrace._group = expandedTrace._group;
817-
}
814+
relinkPrivateKeys(fullExpandedTrace, expandedTrace);
818815

819816
// mutate uid here using parent uid and expanded index
820817
// to promote consistency between update calls

0 commit comments

Comments
 (0)