plot_training_times_clock_heatmap#

plot_training_times_clock_heatmap(heatmap_vector: ndarray, ax: Axes = None, **kwargs) → Axes[source]#

When the box is used through the day, as a clock (midnight on top): the bar of each minute is the fraction of days the box was in use then (from metrics.occupancy.get_occupancy_heatmap). The radius is the square root of that fraction, so that the area of the bars is proportional to the time (with a linear radius, a peak twice as high looks four times as big); the scale shows the fraction as a percentage of days. The night (20:00 to 8:00) is shaded.

Parameters:
  • heatmap_vector – 1440 values, one per minute of the day.

  • ax – a polar axes (default: a new figure).

  • ylim – (kwarg) the range of the fraction of days, e.g. (0, 1) to compare plots.