hi, I have a page like this :
elif pathname == "/page-2":
return dbc.Container(
[
dcc.Store(id="store"),
html.H1("Graphs",style={
"color":"#f0f8ff",
"background-color": "#000000"
},),
html.Hr(),
dbc.Tabs(
[
###################################################c
dbc.Tab(label="2D",tab_id="k-means",style={
"color":"#f0f8ff",
"background-color": "#000000"
}, active_label_style={"color":"#f0f8ff","background-color": "#000000"},children=[
dbc.Container(
and would like to open the page with this tab selected. how can I do this (it opens with no tab selected)
edited: I add this code, to see if the change can be done here:
dbc.Nav(
[
dbc.NavLink("Home", href="/", active="exact"),
dbc.NavLink("Utils", href="/page-1", active="exact"),
dbc.NavLink("Graphs", href="/page-2", active="exact"),
],
vertical=True,
pills=True,
style={
edit2:
I tried this … but gives error. why?
dbc.Tabs(active_tab="001",
[
###################################################clustering
dbc.Tab(label="mdf",tab_id="001",style={