Skip to content

Commit

Permalink
Fix last bin of the day
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbelgium authored Mar 4, 2025
1 parent 33e2cb9 commit 3d7a43c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/plotly_streamlit.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ def hms_to_str(t):

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=2)
Expand Down

0 comments on commit 3d7a43c

Please sign in to comment.