mirror of
https://github.com/saymrwulf/prophet.git
synced 2026-05-17 21:10:45 +00:00
Fix plotting bug
This commit is contained in:
parent
4c235d9505
commit
4f5f97d55b
1 changed files with 1 additions and 1 deletions
|
|
@ -1661,7 +1661,7 @@ plot_seasonality <- function(m, name, uncertainty = TRUE) {
|
|||
end <- start + period * 24 * 3600
|
||||
plot.points <- 200
|
||||
days <- seq(from=start, to=end, length.out=plot.points)
|
||||
df.y <- seasonality_plot_df(days)
|
||||
df.y <- seasonality_plot_df(m, days)
|
||||
seas <- predict_seasonal_components(m, df.y)
|
||||
seas$ds <- df.y$ds
|
||||
gg.s <- ggplot2::ggplot(
|
||||
|
|
|
|||
Loading…
Reference in a new issue