From 876eb61d6b420f178a5757a6e82fa65bdc19ed78 Mon Sep 17 00:00:00 2001 From: Robert Monfera Date: Thu, 11 Aug 2016 14:00:00 +0200 Subject: [PATCH] use extendDeepNoArrays in plotly.restyle event emission --- src/plot_api/plot_api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plot_api/plot_api.js b/src/plot_api/plot_api.js index b5646736fc8..2ed0c536f70 100644 --- a/src/plot_api/plot_api.js +++ b/src/plot_api/plot_api.js @@ -2042,7 +2042,7 @@ Plotly.restyle = function restyle(gd, astr, val, traces) { if(!plotDone || !plotDone.then) plotDone = Promise.resolve(); return plotDone.then(function() { - gd.emit('plotly_restyle', Lib.extendDeep([], [redoit, traces])); + gd.emit('plotly_restyle', Lib.extendDeepNoArrays([], [redoit, traces])); return gd; }); };