Documentation is not great. But I found that someone had posted about plotly graph margins. Answer is that can be set as follows:
fig.update_layout(
margin=dict(l=20, r=20, t=20, b=20),
)
Documentation is not great. But I found that someone had posted about plotly graph margins. Answer is that can be set as follows:
fig.update_layout(
margin=dict(l=20, r=20, t=20, b=20),
)