Hi,
Is there a way to centralize a plotly chart in dash?
Hi,
Is there a way to centralize a plotly chart in dash?
Hello @Oladayo,
There are many many ways to do this, one common way is to make use of the Row and Col components from the Dash Bootstrap Library to style the layout of your Dash App.
Place your dcc.Graph inside the column of a row, then you can use the justify
argument to center the contents on that row.
row = html.Div(
[
dbc.Row(
[
dbc.Col(dcc.Graph()),
], justify='center'
),
]
)
Thank you @atharvakatre