Hi,
Following the recent ggplot2 update to 3.5.0, there is a problem with the gg_season()
function in library feasts.
From fpp3, 2.4 Seasonal plots | Forecasting: Principles and Practice (3rd ed)
> vic_elec |> gg_season(Demand, period = "day") +
+ theme(legend.position = "none") +
+ labs(y="MWh", title="Electricity demand: Victoria")
Error in `ggplot2::scale_color_gradientn()`:
! `breaks` and `labels` have different lengths.
Run `rlang::last_trace()` to see where the error occurred.
Cheers,
Amarjit