Skip to content

Commit 42a74f5

Browse files
committed
autoplot doesn't extrapolate by default
1 parent aa121d3 commit 42a74f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

R/autoplot.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ NULL
8585
#' @rdname autoplot-epipred
8686
autoplot.epi_workflow <- function(
8787
object, predictions = NULL,
88-
.levels = c(.5, .8, .95), ...,
88+
.levels = c(.5, .8, .9), ...,
8989
.color_by = c("all_keys", "geo_value", "other_keys", ".response", "all", "none"),
9090
.facet_by = c(".response", "other_keys", "all_keys", "geo_value", "all", "none"),
9191
.base_color = "dodgerblue4",
@@ -231,7 +231,7 @@ starts_with_impl <- function(x, vars) {
231231

232232
plot_bands <- function(
233233
base_plot, predictions,
234-
levels = c(.5, .8, .95),
234+
levels = c(.5, .8, .9),
235235
fill = "blue4",
236236
alpha = 0.6,
237237
linewidth = 0.05) {

0 commit comments

Comments
 (0)