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
I just updated to the latest versions of R and tidyverse (R 4.4.1, ggplot2 3.5.1), and decided to test out the new axis_logticks with a pseudo_log plot that I find myself doing fairly frequently. However, when I tried to run it, I ended up with an error message:
Error in seq.default(start, end, by = 1) : wrong sign in 'by' argument
Thanks for the report!
This situation should be handled more gracefully by ggplot and thus requires a fix.
Essentially, because the limits include 0, the axis assumed 0.1 is the smallest number to label via the negative.small argument.
However this is still bigger than your largest number, so it gets the order wrong.
In the meantime, you can set the negative.small argument to a smaller number, for which I recommend a number smaller than your smallest non-zero data.
I just updated to the latest versions of R and tidyverse (R 4.4.1, ggplot2 3.5.1), and decided to test out the new axis_logticks with a pseudo_log plot that I find myself doing fairly frequently. However, when I tried to run it, I ended up with an error message:
Minimal example:
The text was updated successfully, but these errors were encountered: