Skip to content

Commit

Permalink
Ensure all bins
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbelgium authored Mar 4, 2025
1 parent 3d7a43c commit ff2c697
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 @@ -317,7 +317,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=1)
Expand Down

0 comments on commit ff2c697

Please sign in to comment.