Skip to content

Commit

Permalink
Fix bug when no 'x' passed to predictplot()
Browse files Browse the repository at this point in the history
  • Loading branch information
brews committed Jan 4, 2019
1 parent cfbd1a3 commit 176ca25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/plot.R
Expand Up @@ -37,7 +37,7 @@ predictplot <- function(y, x = NULL, probs = c(0.05, 0.50, 0.95),
y_high <- quants[, 3]

if (is.null(x)) {
n_row <- nrow(y)
n_row <- nrow(y$ensemble)
x <- seq(1, n_row)
}

Expand Down

0 comments on commit 176ca25

Please sign in to comment.