refactor and fix bug 2950
refactor and fix bug 2950

plotly/plotly.js,aburato/plotly.js,plotly/plotly.js,plotly/plotly.js,etpinard/plotly.js,etpinard/plotly.js,etpinard/plotly.js,plotly/plotly.js,aburato/plotly.js