solarforecastarbiter.reports.figures.plotly_figures.bar¶
-
solarforecastarbiter.reports.figures.plotly_figures.
bar
(df, metric)[source]¶ Create a bar graph comparing a single metric across forecasts.
Parameters: - df (pandas Dataframe) – Metric dataframe by
solarforecastarbiter.reports.figures.construct_metrics_dataframe()
- metric (str) – The metric to plot. This value should be found in df[‘metric’].
Returns: plotly.Figure – A bar chart representing the total category of the metric for each forecast.
- df (pandas Dataframe) – Metric dataframe by