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
Now that we're allowing gradients in geom_ribbon() and derivatives, the following caught my attention.
In the example below, we simply want to vary the gradient along x, so top and bottom gradients should match.
However, the gradient is misplaced because the second group has a missing value (note it starts with dark blue in the middle).
Now that we're allowing gradients in
geom_ribbon()and derivatives, the following caught my attention.In the example below, we simply want to vary the gradient along
x, so top and bottom gradients should match.However, the gradient is misplaced because the second group has a missing value (note it starts with dark blue in the middle).
The gradients are drawn correctly if missing values are removed properly.
Created on 2024-12-16 with reprex v2.1.1
I think there are two things wrong with this when
na.rm = FALSE:I traced this decision to a remedy against #1549.