Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 4988665

Browse files
authoredAug 11, 2016
Merge pull request #842 from monfera/general-speedup
use extendDeepNoArrays in plotly.restyle event emission
2 parents fffddcb + 876eb61 commit 4988665

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/plot_api/plot_api.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2042,7 +2042,7 @@ Plotly.restyle = function restyle(gd, astr, val, traces) {
20422042
if(!plotDone || !plotDone.then) plotDone = Promise.resolve();
20432043

20442044
return plotDone.then(function() {
2045-
gd.emit('plotly_restyle', Lib.extendDeep([], [redoit, traces]));
2045+
gd.emit('plotly_restyle', Lib.extendDeepNoArrays([], [redoit, traces]));
20462046
return gd;
20472047
});
20482048
};

0 commit comments

Comments
 (0)
Please sign in to comment.