Open linusjf opened 1 year ago
#!/usr/bin/env Rscript suppressMessages(library(dplyr)) suppressMessages(library(tsibble)) suppressMessages(library(tsibbledata)) suppressMessages(library(ggplot2)) suppressMessages(library(feasts)) vic_elec |> gg_season(Demand, period = "year") + labs(y="MWh", title="Electricity demand: Victoria")
The above code produces the following graph:
Year legend labels are displayed as a range and include "hh:mm:ss". How do I display only the 4 digit year instead?
feasts version: 0.3.1
The above code produces the following graph:![img](https://github.com/tidyverts/feasts/assets/24714685/8b158541-ec2c-40a0-84cc-1f54c3460bef)
Year legend labels are displayed as a range and include "hh:mm:ss". How do I display only the 4 digit year instead?
feasts version: 0.3.1