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
Many scales offer the possibility to flag NAs with a particular colour on the plot but not in the legend.
For example, here in a map we flag missing values in orange but the orange is not shown in the guide at the right of the plot:
AFAWK there is no direct way for the user to add the missing information. Of course, one can think of various hacks to do such thing but as the argument na.value is readily available, users may expect/wish to see that handled automatically.
Ideally, one could decide to add the NA colour on top or bottom (when vertical, left/right when horizontal) of the existing scale and one could also change the label associated with NA in the legend.
Many scales offer the possibility to flag NAs with a particular colour on the plot but not in the legend.
For example, here in a map we flag missing values in orange but the orange is not shown in the guide at the right of the plot:
Created on 2021-07-29 by the reprex package (v2.0.0)
AFAWK there is no direct way for the user to add the missing information. Of course, one can think of various hacks to do such thing but as the argument
na.value
is readily available, users may expect/wish to see that handled automatically.Ideally, one could decide to add the NA colour on top or bottom (when vertical, left/right when horizontal) of the existing scale and one could also change the label associated with NA in the legend.
[Joint post with @LiamDBailey]
The text was updated successfully, but these errors were encountered: