white spaces in axis title of exported png
Closed this issue · 1 comments
AlvaroMCMC commented
I recently moved to ragg::agg_png()
because ggsave()
was not exporting the right family font.
I exported an image to a png file using this code:
ragg::agg_png(
filename = "image.png",
width = 15,
height = 10,
units = "cm",
res = 300,
scaling = 1,
bg = "white"
)
plot(grafico)
dev.off()
The left-axis title has more white spaces than needed and it should be "Riqueza de especies".
thomasp85 commented
Can you provide a reprex that creates the issue so I might look into the issue?