Center pokes and hold time#

Histograms of the center pokes per trial and their duration.

from matplotlib import pyplot as plt

from lecilab_behavior_analysis.plots import plot_number_of_pokes_histogram, plot_port_holding_time_histogram

fig, (left, right) = plt.subplots(1, 2, figsize=(7, 3))
plot_number_of_pokes_histogram(day, port_number=2, ax=left)
plot_port_holding_time_histogram(day, port_number=2, ax=right)

trials, day, summary, events and cohort are the inputs of the examples. Back to the gallery