Online plot (in the village)#
What happens in a session while the mouse does the task, updated after each trial.

from lecilab_behavior_analysis.plots.online import OnlineSessionFigure
session = day[day["session"] == day["session"].iloc[0]]
figure = OnlineSessionFigure()
figure.update(session) # in the village: after every trial, with the trials so far
trials, day, summary, events and cohort are the inputs of the examples. Back to the gallery