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
Moreover, binned scales don't follow the convention where you can set one of the limits to NA to take the 'natural' limit of the data.
I expect this scale to start at 10 and not throw errors.
p+ scale_x_binned(limits= c(10, NA))
#> Error in if (zero_range(range)) zero_width else diff(range): missing value where TRUE/FALSE needed
I apologise for posting two problems in the same issue.
Binned scales cannot be reversed, as reported in r-lib/scales#389.
I expected these scales to be reversible.
Moreover, binned scales don't follow the convention where you can set one of the limits to
NA
to take the 'natural' limit of the data.I expect this scale to start at 10 and not throw errors.
Created on 2023-07-19 with reprex v2.0.2
The text was updated successfully, but these errors were encountered: