When I run this code, I get an error message saying "Error: The dash_bootstrap_components.Row component (version 1.0.2) received an unexpected keyword argument: no_gutters
Allowed arguments: align, children, className, class_name, id, justify, key, loading_state, style"
I believe it's because of the dash bootstrap version I use. How do I modify my code to make it work?
app.layout = dbc.Container([
dbc.Row(
dbc.Col(html.H1("My Dashboard",
className='text-center'),
width=12)
),
dbc.Row([
dbc.Col([
dcc.Dropdown(id='my-dpdn', multi=False, value='A',
options=[{'label':x, 'value':x}
for x in sorted(df['Value'].unique())],
),
dcc.Graph(id='line-fig', figure={})
],# width={'size':5, 'offset':1, 'order':1},
xs=12, sm=12, md=12, lg=5, xl=5
),
dbc.Col([
dcc.Dropdown(id='my-dpdn2', multi=True, value=['B','C'],
options=[{'label':x, 'value':x}
for x in sorted(df['Value'].unique())],
),
dcc.Graph(id='line-fig2', figure={})
], #width={'size':5, 'offset':0, 'order':2},
xs=12, sm=12, md=12, lg=5, xl=5
),
], no_gutters=True, justify='start')
], fluid=True)