diff --git a/R/data_plot.R b/R/data_plot.R index 3b916383f..8a54b9270 100644 --- a/R/data_plot.R +++ b/R/data_plot.R @@ -156,7 +156,7 @@ add_plot_attributes <- function(x) { if (is.null(dat)) { # last try - model <- .dynGet(obj_name, ifnotfound = NULL) + dat <- .dynGet(obj_name, ifnotfound = NULL) } }