roastcoffea.visualization.plots.workers

Worker count timeline plotting.

Functions

plot_worker_count_timeline(tracking_data[, ...])

Plot worker count over time.

roastcoffea.visualization.plots.workers.plot_worker_count_timeline(tracking_data, output_path=None, figsize=(10, 4), title='Worker Count Over Time')[source]

Plot worker count over time.

Parameters:
  • tracking_data (dict or None) – Tracking data with worker_counts

  • output_path (Path, optional) – Save path

  • figsize (tuple) – Figure size

  • title (str) – Plot title

Returns:

fig, ax – Matplotlib figure and axes

Return type:

Figure and Axes