Skip to content

Commit f8addaa

Browse files
committed
no need to assing newContainer output (fixup for #3092)
... Template.newContainer does that internally already.
1 parent 1539fea commit f8addaa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plots/polar/layout_defaults.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ function handleDefaults(contIn, contOut, coerce, opts) {
5151
}
5252

5353
var axIn = contIn[axName];
54-
var axOut = contOut[axName] = Template.newContainer(contOut, axName);
54+
var axOut = Template.newContainer(contOut, axName);
5555
axOut._id = axOut._name = axName;
5656
axOut._traceIndices = subplotData.map(function(t) { return t._expandedIndex; });
5757

0 commit comments

Comments
 (0)