According to the Plotly site to disable the modebar I have to use following option {displayModeBar: false}:
Plotly.newPlot('myDiv', data, layout, {displayModeBar: false});
While the current JS generator doesn't allow me to specify the last parameter.
Currently working around it with an ugly string.replace, but would be nice to have the possibility to supply these options in type safe mode.