Skip to content

Commit

Permalink
consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin L authored and Benjamin L committed Nov 22, 2023
1 parent b7f5e6c commit cb3e153
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion R/knitr-engine.R
Original file line number Diff line number Diff line change
Expand Up @@ -732,7 +732,9 @@ eng_python_autoprint <- function(captured, options) {
.engine_context$pending_plots$push(knitr::raw_html(data))
} else {
paths <- eng_python_knit_figure_path(options)
lapply(paths, function(path){value$save(path)})
lapply(paths, function(path){
value$save(path)
})
.engine_context$pending_plots$push(knitr::include_graphics(paths[1]))
}

Expand Down

0 comments on commit cb3e153

Please sign in to comment.