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
It arises because annotation_logticks() doesn't properly use the coord to figure out where to draw ticks. It just assumes that the x axis is bottom/top and the y axis is left/right. See e.g.:
This behaves exactly like the closed issue #881, still here in ggplot2 version 3.3.0
Using a bit modified example
This works:
And this works:
Now,
returns error:
Error in unit(xticks$x, "native") : 'x' and 'units' must have length > 0
The text was updated successfully, but these errors were encountered: