Skip to content

Commit

Permalink
Fix default fig.width for only HTML output
Browse files Browse the repository at this point in the history
  • Loading branch information
ismayc committed Sep 21, 2024
1 parent 6917942 commit 35001b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ opts_chunk$set(
comment = NA,
fig.pos = 'H',
fig.retina = 1,
fig.width = 6,
fig.width = if(knitr::is_html_output()) "6",
fig.asp = if(knitr::is_html_output()) "2/3"
)
```
Expand Down

0 comments on commit 35001b4

Please sign in to comment.