feat: add trendline to residual scatter plot
Browse files
src/visualization/visualize.py
CHANGED
@@ -52,9 +52,7 @@ def time_series_line_plot(data):
|
|
52 |
|
53 |
|
54 |
def time_series_scatter_plot(data):
|
55 |
-
fig = px.scatter(
|
56 |
-
data
|
57 |
-
)
|
58 |
st.plotly_chart(fig, use_container_width=True)
|
59 |
|
60 |
|
|
|
52 |
|
53 |
|
54 |
def time_series_scatter_plot(data):
|
55 |
+
fig = px.scatter(data, trendline="ols")
|
|
|
|
|
56 |
st.plotly_chart(fig, use_container_width=True)
|
57 |
|
58 |
|