breos.plotting.plot_weather_monthly_comparison#
- breos.plotting.plot_weather_monthly_comparison(tmy_vals, stats, ylabel, tmy_source, results_dir, filename)[source]#
Scatter+line monthly comparison: TMY vs historical mean with 95% CI band, red min-year line, and green max-year line.
- Parameters:
tmy_vals (
ndarray) – Array of 12 monthly TMY values.stats (
DataFrame) – DataFrame with columnsmean,ci_low,ci_high,min, andmax.ylabel (
str) – Y-axis label (e.g. “GHI (kWh/m²)”).tmy_source (
str) – Source label for the TMY line (e.g. “pvgis-sarah3”).results_dir (
str) – Directory to save the plot.filename (
str) – Output filename (e.g. “monthly_ghi_comparison.png”).
- Return type: