Hi!
I have been trying to build a simple app based on the few examples provided on the Dash website.
I am running into an issue with displaying checklist/radioitems as a block (one under another).
So reading the docs there : Dash Core Components | Dash for Python Documentation | Plotly the dcc.Checklist without any css options should display things in columns by default, yet I can’t seem to do that.
import dash import dash_core_components as dcc import dash_html_components as html app = dash.Dash() app.layout = html.Div([dcc.RadioItems( options=[ {'label': 'New York City', 'value': 'NYC'}, {'label': 'Montréal', 'value': 'MTL'}, {'label': 'San Francisco', 'value': 'SF'} ], value='MTL' )]) if __name__ == '__main__': app.run_server(debug=True)
Thank you!