Black Lives Matter. Please consider donating to Black Girls Code today.

dcc.Tabs error ... what happened

init() takes from 1 to 2 positional arguments but 3 were given…

        dcc.Tabs(
            tabs=[
                {'label': 'Market Value', 'value': 1},
                {'label': 'Usage Over Time', 'value': 2},
                {'label': 'Predictions', 'value': 3},
                {'label': 'Target Pricing', 'value': 4},
            ],
            value=3,
            id='tabs',
            # vertical=vertical,
            style={
                'height': '100vh',
                'borderRight': 'thin lightgrey solid',
                'textAlign': 'left'
            }
        ),

@tasselmi

Have you tried using Plotly’s newest revision of tabs dash_core_components==0.24.0rc2. See here for more info.

thanks. problems is settled.