Black Lives Matter. Please consider donating to Black Girls Code today.

Plotly express trendlines

Hi Friends,

I used plotly express px.scatter to try to plot smooth fit lines. But the graph is so weird below.

The trendline I chosen is “lowess”. Is there any way to make smooth fit curve?

Thank you so much.