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
This is for consistency with {scales} (https://github.com/r-lib/scales/blob/main/R/scale-discrete.r#L28) and {ggplot2} (scale_colour_discrete()). rdeck re-implements the DiscreteRange to preserve input order, but otherwise is equivalent to scales::DiscreteRange().
While I think a factor / character would generally be a better choice for a category scale, maybe it's needlessly restrictive. One case where ints as they are would be ok, is integer codes from abs admin boundaries.
Created on 2022-04-13 by the reprex package (v2.0.1)
Slightly surprising since integer is 'discrete'.
The text was updated successfully, but these errors were encountered: