小编Eri*_*und的帖子

用于刷新页面的 Dash 应用程序 Python 按钮

是否有可能在 Dash (Python) 中为按钮编写回调函数以重新加载页面(例如浏览器中的更新按钮?

app.layout =html.Div([
            html.Button(id="refresh"),
            ])

@app.callback(Output('???', '???'),
              [Input('refresh', 'n_clicks')])
def refresh(n):

?
return
?
Run Code Online (Sandbox Code Playgroud)

python plotly-dash

7
推荐指数
1
解决办法
5955
查看次数

标签 统计

plotly-dash ×1

python ×1