Skip to content

Commit efcef43

Browse files
committed
Add comment for relinkPrivateKeys + transforms
1 parent 42d76e0 commit efcef43

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/plots/plots.js

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

814+
// relink private (i.e. underscore) keys expanded trace to full expanded trace so
815+
// that transform supply-default methods can set _ keys for future use.
814816
relinkPrivateKeys(fullExpandedTrace, expandedTrace);
815817

816818
// mutate uid here using parent uid and expanded index

0 commit comments

Comments
 (0)