【发布时间】:2019-04-23 10:34:30
【问题描述】:
我有一张看起来像这样的桌子......
ticker,price1y,price2y,price3y,price5y,
aapl,12,23,47,69,
tsla,-9,24,54,190,
att,-10,23,34,35,
我想在破折号中使用 pandas 绘制这些以显示 price1y price2y ... price5y 沿 x 轴和 % 沿 y 轴变化。我需要能够使用破折号的回调功能选择多个值以添加到图表中。
我目前创建了一个 dash_core_components 图表,但是我没有成功地绘制到这个图表。
app.layout = html.Div([
html.Div([
dcc.Graph(
id='bar-graph'
)
], className='twelve columns')
谢谢,
【问题讨论】:
标签: python matplotlib plotly plotly-dash