From ebeaf51c3b5c961949ba157a353406fc674251e2 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Tue, 4 Mar 2025 12:57:58 +0100 Subject: [PATCH] Ensure all bins --- scripts/plotly_streamlit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/plotly_streamlit.py b/scripts/plotly_streamlit.py index b7bd3de..90f5202 100755 --- a/scripts/plotly_streamlit.py +++ b/scripts/plotly_streamlit.py @@ -317,7 +317,7 @@ if daily is False: detections2 = pd.crosstab(df3, df3.index.hour) - d = pd.DataFrame(np.zeros((23, 1))).squeeze() + d = pd.DataFrame(np.zeros((24, 1))).squeeze() detections = hourly.loc[specie] detections = (d + detections).fillna(0) fig.add_trace(go.Barpolar(r=detections, theta=theta, marker_color='seagreen'), row=1, col=1)