trials_by_day_stacked_plot#
- trials_by_day_stacked_plot(sessions: DataFrame, ax: Axes = None, cmap: str | None = None, stage_order: List[str] | None = None) Axes[source]#
Number of trials per day, one stacked bar segment per session, colored by training stage (the stage colours of the style, or the colormap cmap).
- Parameters:
sessions – one row per session, with columns day (datetime), current_training_stage and trials.