【发布时间】:2021-01-28 22:35:27
【问题描述】:
我有以下代码
daily=pd.read_csv
y_columns= ['1 mo', '2 mo', '3 mo', '6 mo', '1 yr', '2 yr', '3 yr', '5 yr',
'7 yr', '10 yr', '20 yr', '30 yr']
fig = px.line(daily, x='Date', title='XX')
fig.update_layout(title_x=0.5, yaxis=dict(tick0 = 0.2, dtick = 2.5))
结果 enter image description here
如何在线条下制作颜色,类似的东西 enter image description here
【问题讨论】:
标签: python-3.x colors plotly-python