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
I forgot to reply here. After a quick look, I think there are two possible fixes:
Add limits argument to manual_scale() and subset values before creating a palette from the values.
Raise an error when limits is provided.
First one seems straightforward, but I enumerate the second because manual_scale() can accept pal while it's difficult to limit the pal and it might be confusing.
If we go with the first, probably it will be something like this:
(I found this during looking at the examples on
scale_manual
.)It seems
scale_{colour,fill}_manual(limits = ...)
doesn't limit the scale actually (but limit the legend).Created on 2019-04-24 by the reprex package (v0.2.1)
The text was updated successfully, but these errors were encountered: