strategies_figure#
- strategies_figure(df: DataFrame, hours: float = 48, min_trials: int = 10, style: str | Style | None = None) Figure[source]#
Win-stay / lose-switch and side / alternation bias of each mouse in the last hours (before the last trial of df), a point per mouse with its colour of the overview. Habituation is left out; a mouse with fewer than min_trials correct (or error) trials has no win-stay (or lose-switch) point. style: see style.py (default: the active style).