【发布时间】:2021-06-22 01:53:06
【问题描述】:
【问题讨论】:
-
external_stylesheets = ['codepen.io/chriddyp/pen/bWLwgP.css'] app = dash.Dash(name, external_stylesheets=external_stylesheets) df = pd.DataFrame({ "time": ["5-6 -1”、“5-6-2”、“5-6-3”、“5-6-4”]、“用户”:[4、21、2、100],“系统”:[96, 79, 98, 0], }) fig = px.line(df, x='time', y=['user', 'system'], title='testing') app.layout = html.Div(children =[ html.H1(children='Hello Dash'), html.Div(children=''' Dash: Python的Web应用框架。'''), dcc.Graph( id='example-graph', figure =fig ) ])
-
悬停文本记录在 Plotly Python 文档中:plotly.com/python/hover-text-and-formatting
-
太好了,非常感谢。
标签: python plotly plotly-dash