Dash
Abstract
インストール忘備録
Install
sudo apt install python3-pip sudo pip install dash
vi hello.py ====================================== import dash from dash import dcc from dash import html app = dash.Dash() app.layout = html.Div(children=[ html.H1(children='Hello Dash'), html.Div(children='Dash Framework'), dcc.Graph( id='sample', figure={ 'data': [ {'x': [1, 2, 3], 'y': [4, 1, 2], 'type': 'bar', 'name': 'ABC'}, {'x': [1, 2, 3], 'y': [2, 4, 5], 'type': 'bar', 'name': 'DEF'}, ], 'layout': { 'title': 'Sample Graph' } } ) ]) if __name__ == '__main__': app.run_server(debug=True, host='192.168.123.123') ======================================
python3 ./hello.py ## Dash is running on http://192.168.123.123:8050/
Connect to Dash
http://192.168.123.123:8050/
References
Acknowledgments
Daiphys is a professional-service company for research and development of leading-edge technologies in science and engineering.
Get started accelerating your business through our deep expertise in R&D with AI, quantum computing, and space development; please get in touch with Daiphys today!
Daiphys Technologies LLC - https://www.daiphys.com/