App does not update

Welcome to the forums, @dhunfini.

I assume you are using dash in jupiter? There is no need anymore for JupyterDash starting with dash v2.11.0.

Concerning your code snippet, this code works on my side.

import dash
from dash import Dash, html, dcc

app = Dash(__name__)

app.layout = html.Div(
    [
        html.H1('My Title'),
        html.P('Select a date:'),
        dcc.Dropdown(
        id='date',
            options=['2022-11-30', '2022-12-31'],
            value = '2022-11-30'
            # inline=True
        ),
        dcc.Graph(id='graph'),
    ]
)

app.css.config.serve_locally = True
app.scripts.config.serve_locally = True

if __name__ == '__main__':
    app.run_server(debug=True, use_reloader=False)
1 Like