def plot_minute_histogram(splits):
def plot(ax, detections):
bins = np.floor_divide(detections['timestamp'], 60).astype('int64')
counts = np.bincount(bins)
ax.plot(counts)
ax.set_xlabel('Minute')
ax.set_ylabel('Count')
fig = plt.figure()
plot_rxtx_matrix(fig, splits, plot)
fig.suptitle('Histogram of number of detections per minute')
评论列表
文章目录