Skip to content

Commit 4988665

Browse files
authored
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

+1-1
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)