Padding (i.e. the whitespace surrounding the plot) is currently quite large:
The margins parameter for me was a bit confusing until I realised it was referring to variable margins rather than plot margins. I tried to control it using par and adding a ggplot theme layer to set margins to zero, neither of these have an effect.
A simple padding = c(t, r, b, l) would be great to control the amount of whitespace surrounding the plot, or by other method.
Requested feature
Padding (i.e. the whitespace surrounding the plot) is currently quite large:
The margins parameter for me was a bit confusing until I realised it was referring to variable margins rather than plot margins. I tried to control it using par and adding a ggplot theme layer to set margins to zero, neither of these have an effect.
A simple
padding = c(t, r, b, l)
would be great to control the amount of whitespace surrounding the plot, or by other method.Code for the above example: