
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# check out https://dash.plotly.com/ for documentation
# And check out https://py.cafe/maartenbreddels for more examples
from dash import Dash, html, dcc
app = Dash()
app.layout = html.Div(
children=[
dcc.Dropdown(["Europe", "Asia", "America", "Africa", "Oceania"], multi=True, value=["Europe", "Asia", "America", "Africa", "Oceania"]),
dcc.Slider(min=0, max=10, value=5),
dcc.RangeSlider(min=0, max=10, value=[0, 5])
],
className="control-container"
)
if __name__ == "__main__":
app.run(debug=True)