I am using graph_plots and want to always enable mode bar. Currently I trying to pass the config in the update_layout but it is not working
fig.update_layout(width=1200,
height=800,
legend={'x': 0, 'y': 1, 'bgcolor': 'rgba(0,0,0,0)'},
config={
'displayModeBar': True,
})
Fyi I am using fig.to_json() later so config in fig.show() is not used.