【问题标题】:Plotly: how to change the position of the displayPlotly:如何改变显示的位置
【发布时间】:2022-09-23 21:58:30
【问题描述】:

我对 Dash 很陌生。只是想四处走动。

from dash import Dash,html,dcc,Input, Output
import plotly.express as px
import plotly.graph_objects as go
import dash_daq as daq
app.layout = html.Div([
                        html.H1(\'Billboard\'),
                        dcc.Interval(id=\'input_place\'),


                        html.Div([daq.LEDDisplay(
                                        label=\"Distance\",
                                        labelPosition=\'top\',
                                        value=55.99
                        )],style={\'width\': \'25%\', \'display\': \'inline-block\', \'padding\': \'0 0\'})
])

if __name__ == \'__main__\':
    app.run_server(debug=False)

这个的输出在上面

我只是想搬到中心?怎么做。 先感谢您!!!

    标签: python html plotly


    【解决方案1】:
    猜你喜欢
    • 1970-01-01
    • 2016-12-08
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-07-30
    • 1970-01-01
    • 1970-01-01
    • 2017-11-11
    相关资源
    最近更新 更多