Skip to content

Commit 15dfaef

Browse files
committed
Pass knitr options to the named argument options. Fixes #582
1 parent 67b1943 commit 15dfaef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/print.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ print.plotly_built <- print.plotly_hash
2323
#' @export
2424
knit_print.plotly_hash <- function(x, options, ...) {
2525
x <- as.widget(x)
26-
knitr::knit_print(x, options, ...)
26+
knitr::knit_print(x, options = options, ...)
2727
}
2828

2929
#' Print a 'built' plotly object in a knitr doc

0 commit comments

Comments
 (0)