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
Setting a manual color scale via scale_color_manual doesn't drop unused factors (this could be a feature and not a bug but it is not documented on the help page), and unless they are in the same exact order as other aesthetics the legends are not merged.
I wish there were some kind of check and reorder the scales to see if they match. I'm not sure how easy is to do this, but I think it would make ggplot2 slightly more user friendly.
I didn't find this mentioned previously on any other issue but I might have missed them.
Setting a manual color scale via
scale_color_manual
doesn't drop unused factors (this could be a feature and not a bug but it is not documented on the help page), and unless they are in the same exact order as other aesthetics the legends are not merged.I wish there were some kind of check and reorder the scales to see if they match. I'm not sure how easy is to do this, but I think it would make ggplot2 slightly more user friendly.
I didn't find this mentioned previously on any other issue but I might have missed them.
Manual scale
Manual scale with extra values
drop doesn’t seem to work with manual values
Manual scale with different order
The legends are not merged into a single one.
Created on 2022-06-03 by the reprex package (v2.0.1)
The text was updated successfully, but these errors were encountered: