ggplot text size output differs inline and in knitted HTML #4848
Replies: 1 comment 12 replies
-
can you please provide a reproducible example, including the settings you use to set the figure size (fig-width and/or out-width)? So, in short, it's hard to tell without knowing more precisely what settings you're using. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I've been loving using Quarto, but one major issue for me is that the test size in the ggplot figures I see produced inline within my
.qmd
differs from what I see when I knit to HTML.This was never an issue in .Rmd. The output I saw inline for
.Rmd
, is what I saw in my HTML i.e., the text would automatically scale up -- how can I retain the same in Quarto documents?Within my custom theme, I have the following, but I can't keep changing the font sizes per plot (as pretty much all of my plots have varying heights and widths)
e.g., if I set the fig.width = 10 within my code chunk header, I get the two differing ggplots:
INLINE:
HTML:
Thank you very much!
Beta Was this translation helpful? Give feedback.
All reactions