But unfortunately,The above code produce I am getting like this:推荐答案 从我的一位同事那里得到了解决方案import dashimport dash_html_components as htmlimport dash_core_components as dccapp = dash.Dash()app.layout = html.Div([ html.Div([ html.Div( dcc.Graph(id='g1', figure={'data': [{'y': [1, 2, 3]}]}), className="six columns", style={"width":500, "margin": 0, 'display': 'inline-block'} ), html.Div( dcc.Graph(id='g2', figure={'data': [{'y': [1, 2, 3]}]}), className="six columns", style={"width":500, "margin": 0, 'display': 'inline-block'} ), ], className="row")])if __name__ == '__main__': app.run_server(debug=True) 这篇关于python Dash中的子图(左右)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云! 08-20 08:00