training_matrix_plot#
- training_matrix_plot(p_left: DataFrame, sessions: DataFrame, settings: DataFrame | None = None, highlight_day: str | None = None, ax: Axes = None) Axes[source]#
Choices by side and difficulty in each session (colour: proportion of left choices, from metrics.choices.get_choices_by_difficulty_matrix), with some settings of each session in rows above it (from io.settings.settings_for_sessions; each row coloured by its own values, the value written where it changes). highlight_day (YYYY-MM-DD) frames the sessions of that day.
Returns the axes of the matrix.