python plotly line chart 折线图
# 1 折线图数据
# trace1 - 基本格式
# trace2 - 更多参数
trace1 = go.Scatter(
x = x1,
y = y2,
)
trace2 = go.Scatter(
x = x2,
y = y2,
mode = 'lines'
python plotly line chart 折线图
# 1 折线图数据
# trace1 - 基本格式
# trace2 - 更多参数
trace1 = go.Scatter(
x = x1,
y = y2,
)
trace2 = go.Scatter(
x = x2,
y = y2,
mode = 'lines'