training#

Plots of the training history: calendar, trials and water per day, text summaries.

Functions

calendar_plot

Calendar of the number of trials per day, one row of axes per year (axes must have one axis per year in daily_trials).

format_date_axis

Readable dates on the x axis, whatever the number of days.

plot_table_from_df

rasterize_plot

setting_change_labels

Indexes of the sessions where the value of a setting row is written (where it changes).

setting_colors

Colour (hex) of each session of a setting row, from setting_values_to_colors.

setting_values_to_colors

How to colour one setting across sessions.

summary_matrix_plot

Generates a matrix plot with information regarding each particular session on the top

summary_text_plot

summary of a particular session or subject

training_calendar_plot

training_matrix_plot

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).

trials_by_day_plot

Trials per day by training stage (stage colours of the style, or the colormap cmap).

trials_by_day_stacked_plot

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).

trials_by_session_hist

trials_by_session_plot

water_by_date_plot

water_by_day_plot

Water consumed per day (index: datetime) as a line on a right-hand axis.