Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.
This repository was archived by the owner on Aug 29, 2025. It is now read-only.

bundle on master isn't up-to-date? #377

Description

@chriddyp

I just ran a simple example from the root of the directory and the dropdown css isn't coming through. There have been a few PRs that have updated the dropdown component in the last couple of days by @valentijnnieman and @wbrgss , so I suspect that the bundles weren't regenerated or committed to the repo.

importdashfromdash.dependenciesimportInput, Outputimportdash_core_componentsasdccimportdash_html_componentsashtmlimportpandasaspdimportplotly.graph_objsasgoapp=dash.Dash(__name__)
app.scripts.config.serve_locally=Trueapp.css.config.serve_locally=Trueapp.layout=html.Div([
dcc.Dropdown(
id='color',
options=[{'label': i, 'value': i} foriin [
{'label': 'Navy', 'value': '#001f3f'},
{'label': 'Blue', 'value': '#0074D9'},
{'label': 'Aqua', 'value': '#7FDBFF'},
{'label': 'TEAL', 'value': '#39CCCC'},
{'label': 'OLIVE', 'value': '#3D9970'},
{'label': 'GREEN', 'value': '#2ECC40'}
]],
value='#2ECC40'
),
dcc.Graph(id='graph'),
])
@app.callback(Output('graph', 'figure'), [Input('color', 'value')])defupdate_graph(color):
return {
'data': [{
'x': [
1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
],
'y': [
219, 146, 112, 127, 124, 180, 236, 207, 236, 263,
350, 430, 474, 526, 488, 537, 500, 439
],
'type': 'bar',
'marker': {'color': color}
}],
'layout': {
'transition': {
'duration': 500
}
}
}
if__name__=='__main__':
app.run_server(debug=True)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions