solarforecastarbiter.reports.figures.plotly_figures.bar_subdivisions

solarforecastarbiter.reports.figures.plotly_figures.bar_subdivisions(df, category, metric)[source]

Create bar graphs comparing a single metric across subdivisions of time for multiple forecasts. e.g.:

Fx 1 MAE |
         |_________________
Fx 2 MAE |
         |_________________
           Year, Month of the year, etc.
Parameters:
  • df (pandas.DataFrame) – Fields must be kind and the names of the forecasts
  • category (str) – One of the available metrics grouping categories (e.g., total)
  • metric (str) – One of the available metrics (e.g. mae)
Returns:

figs (dict of figures)