How do we disable displaylogo icon in the display bar. Kindly help

we cant use Plotly.newPlot(‘myDiv’, data, layout,{displaylogo :false},{
modeBarButtons: [[{
name: ‘Save and Edit in cloud’,
icon: Plotly.Icons.disk,
click: function() {
var size = randomArray();
Plotly.restyle(‘graph’, ‘marker.size’, [size]);
}
}], [
‘zoom2d’,
‘pan3d’,
‘zoomInGeo’,
‘zoomOutGeo’,
‘autoScale2d’,
‘resetScale2d’,
‘hoverClosest3d’,
‘hoverCompareCartesian’

      ]]

});

Why can’t you use displaylogo: false ?

Are you using plotly from an API?

Hey etienne,

It worked, it was just I was using incorrect syntax.

Now it is working fine.Thanks a lot:)