-
Flask route 추가하기plotly dash 2022. 5. 31. 19:34
from dash import Dash, html app = Dash( __name__, routes_pathname_prefix='/dash/' ) server = app.server @server.route('/') def index(): return 'Hello Flask app' app.layout = html.Div("My Dash app") if __name__ == '__main__': app.run_server(debug=True)
'plotly dash' 카테고리의 다른 글
Tab (0) 2022.06.14 RangeSlider (0) 2022.06.14 Dash router (0) 2022.05.30 Grid Layout (0) 2022.05.30 CSS 적용하기 (0) 2022.05.30