Is there a easy way for me to center my figure? When I use jupyter-nbconvert to convert to html, the figure is aligned on the right.
My code looks like this
fig = make_subplots(specs=[[{'secondary_y': True}]]) # I WANT TO CENTER THIS FIGURE
fig.add_trace(go.Bar(...))
fig.add_trace(go.Scatter...(),
secondary_y="True")
fig.update_layout(
title='My Plot',
barmode='overlay',
plot_bgcolor='rgb(245,245,245)',
legend=dict(
x=0.02,
y=0.95),
margin=dict(t=0, b=0, l=0, r=0)
)
Thanks