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
When changing the legend of a legend item with a gradient scale, the gradient scale is converted to a discrete scale. The example below shows this behavior for _colour_gradient2, but it also happens for other gradient scales.
If a plot has multiple scales, i.e. when reordering becomes relevant, just specifying the order of non-gradient scales, leaves the scale intact, but specifying the order of the gradient scale causes the behavior in the example below.
Indeed, as @smouksassi indicates. This is not really a bug as the scale remains continuous but displays a discrete legend. I can see how this is surprising if you're unfamiliar with different guide types though.
When changing the legend of a legend item with a gradient scale, the gradient scale is converted to a discrete scale. The example below shows this behavior for _colour_gradient2, but it also happens for other gradient scales.
If a plot has multiple scales, i.e. when reordering becomes relevant, just specifying the order of non-gradient scales, leaves the scale intact, but specifying the order of the gradient scale causes the behavior in the example below.
Created on 2023-07-21 with reprex v2.0.2
The text was updated successfully, but these errors were encountered: