-
Notifications
You must be signed in to change notification settings - Fork 34
Closed
Labels
Description
A feature request rather than a bug:
Units facilitates the usage of ggplot with units rather seamlessly.
A small shortcoming is the usage of scale_*_reverse(). This fails with
Error in Ops.units(x, range[1]) :
both operands of the expression should be "units" objects
because scale_*_reverse() calls scale_y_continuous(trans = scales::reverse_trans()) to invert the axis.
It would be convenient if scale_*_reverse() would call scale_y_units(trans = scales::reverse_trans()) when applicable.
Reactions are currently unavailable