📅  最后修改于: 2022-03-11 14:47:18.248000             🧑  作者: Mango
import plotly.graph_objects as go
fig = go.Figure()
fig.add_trace(go.Scatter(x=[1, 2, 3, 4],
y=[0, 2, 3, 5],
fill='tozeroy')
) # fill down to xaxis
fig.update_layout(title='Title',
xaxis_title='x',
yaxis_title='y')
fig.show()