From 2a931797528efa81fec7dcd6447ce45f00d1c4c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mikl=C3=B3s=20Tusz?= Date: Mon, 18 Jan 2016 11:56:56 -0500 Subject: [PATCH] Add init step when changing dragmode --- src/components/modebar/buttons.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/modebar/buttons.js b/src/components/modebar/buttons.js index f5b9dee720e..475f5612ee4 100644 --- a/src/components/modebar/buttons.js +++ b/src/components/modebar/buttons.js @@ -259,6 +259,7 @@ function handleCartesian(gd, ev) { ); } Plotly.Fx.supplyLayoutDefaults(gd.layout, fullLayout, gd._fullData); + Plotly.Fx.init(gd); } }); }