Reaction time and time between trials#
Trial by trial through the session, with their distributions on the sides.

from matplotlib import pyplot as plt
from lecilab_behavior_analysis.plots import time_between_trials_and_reaction_time_plot
fig, axes = plt.subplots(1, 3, figsize=(9, 3), gridspec_kw={"width_ratios": [1, 6, 1], "wspace": 0})
time_between_trials_and_reaction_time_plot(day, axes)
trials, day, summary, events and cohort are the inputs of the examples. Back to the gallery