You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First time I've reported an issue, so please bare with me if I leave anything out. The protocol for saving a plot with ggsave with device = agg_png seems to have changed, but not clearly communicated within documentation.
previous example may be something like
ggsave("mtcars.png", device = agg_png, res = 400)
However, the working method now is
ggsave("mtcars.png", device = agg_png(res = 400))
I like the change, but it does not seem to be documented anywhere, at least nowhere that I noticed.
The text was updated successfully, but these errors were encountered:
This is not correct. The right way to use ragg with ggsave() is the first mentioned approach... There is, however, some unfortunate interaction between the res argument in ragg_png() and the dpi argument in ggsave()
First time I've reported an issue, so please bare with me if I leave anything out. The protocol for saving a plot with ggsave with device = agg_png seems to have changed, but not clearly communicated within documentation.
previous example may be something like
ggsave("mtcars.png", device = agg_png, res = 400)
However, the working method now is
ggsave("mtcars.png", device = agg_png(res = 400))
I like the change, but it does not seem to be documented anywhere, at least nowhere that I noticed.
The text was updated successfully, but these errors were encountered: