使用 Plotly Lineplot 绘制的每日数据点 – 平滑数据
python 261
原文标题 :Daily Datapoints plotted with Plotly Lineplot – Smoothing the data
这是从 12-08-2020 到 22-04-2022 的数据,每天都有数据点。
这是我的情节目前的样子:
我现在真正想要的是,它只会绘制整条线的平均值。但我似乎找不到任何东西。我尝试使用关键字line_shape=spline
但它并没有让它看起来更好。我目前使用这个:fig = px.line(x=count_by_day['creation_date'], y=count_by_day['count'], line_shape='spline')