Black Lives Matter. Please consider donating to Black Girls Code today.

Plotly Event Handlers in Zeppelin

Hi guys,

I am trying to run some examples in Zeppelin. For example, I tried the double_click_event case shown in inside the code below

  <!-- Plotly.js -->
  <script src=""></script>

  <div id="myDiv" style="width: 800px; height: 500px;"><!-- Plotly chart will be drawn inside this DIV --></div>

The problem is that after the first “reaction” nothing happens (only the default click event). Could you tell me why?

Can anyone help me to solve this problem? :frowning:
It’s like after the first reaction the (overridden) default functions come back and the customized ones stop working. So weird :confounded:

I noticed that the problem raises after the Plotly.restyle :confused: