Skip to content

Commit 0a4ce1f

Browse files
committed
replace ast -> astr
1 parent 6fe5ec4 commit 0a4ce1f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/plots/plots.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -523,18 +523,18 @@ function remapTransformedArrays(cd0, newTrace) {
523523
var oldTrace = cd0.trace;
524524
var arrayAttrs = PlotSchema.findArrayAttributes(oldTrace);
525525
var transformedArrayHash = {};
526-
var i, ast;
526+
var i, astr;
527527

528528
for(i = 0; i < arrayAttrs.length; i++) {
529-
ast = arrayAttrs[i];
530-
transformedArrayHash[ast] = Lib.nestedProperty(oldTrace, ast).get().slice();
529+
astr = arrayAttrs[i];
530+
transformedArrayHash[astr] = Lib.nestedProperty(oldTrace, astr).get().slice();
531531
}
532532

533533
cd0.trace = newTrace;
534534

535535
for(i = 0; i < arrayAttrs.length; i++) {
536-
ast = arrayAttrs[i];
537-
Lib.nestedProperty(cd0.trace, ast).set(transformedArrayHash[ast]);
536+
astr = arrayAttrs[i];
537+
Lib.nestedProperty(cd0.trace, astr).set(transformedArrayHash[astr]);
538538
}
539539
}
540540

0 commit comments

Comments
 (0)