Closed sakamomo554101 closed 3 years ago
https://dash.plotly.com/dash-core-components/textarea
本文の入力は上記のtextareaを使えば、とりあえず良いかな(ファイル読み込みは一旦あとで考えるとして)
https://dash-bootstrap-components.opensource.faculty.ai/
dash bootstrap componentsを使うと、UI作りやすそう。 ドキュメント読んでみる。
dash のcallbackについて
https://qiita.com/nerimplo/items/3e7ab09a3dd2bb16a41d https://dash.plotly.com/basic-callbacks
ようはInputで指定した要素の値が変化したら、デコレーターで設定した関数が実行されて、outputに指定した要素の値が変わる感じ。
https://dash.plotly.com/live-updates
live update(リアルタイムアップデート)の例。 要素にぶらさげたchildrenを更新する対象にするのが良さそう。
https://www.webprofessional.jp/css-viewport-units-quick-start/ vh -> viewport height
https://dash-bootstrap-components.opensource.faculty.ai/docs/components/spinner/ button + spinnerの例も描いてある。親切。
それっぽいUIにはなった(デザインセンス皆無だけど)
https://dash.plotly.com/layout