Ensure all bins

This commit is contained in:
Alexandre
2025-03-04 12:57:58 +01:00
committed by Nachtzuster
parent b4fb5dd299
commit ebeaf51c3b
+1 -1
View File
@@ -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)