I am using dash bootstrap components so all my components are where I want them in my layout. But they are alinged in the center of their rows. There is a lot of emtpy space from the left side to my first graph. Why is that and how can I remove it?
Here is my Code and how it looks. I don't know why my components are not starting on the left most point. Except of course for my 'Title'. This is supposed to be center. But my labels and graph are off.
from dash import Dash, dcc, html, Input, Output # pip install dash (version 2.0.0 or higher)
import dash_bootstrap_components as dbc
app = Dash(__name__, external_stylesheets = [dbc.themes.BOOTSTRAP])
# ------------------------------------------------------------------------------
# App layout
app.layout = dbc.Container([
dbc.Row([
dbc.Col([
html.H1("Title", style={'textAlign': 'center'})
], width=12)
]),
dbc.Row([
dbc.Col([
html.Label("Label1"),
dcc.Loading(id='loading0', parent_style=loading_style, children = [dcc.Graph(id='feature_plots', figure={})])
], width=6),
dbc.Col([
html.Label("Label2"),
], width=3)
]),
]
)