Closed schmittrjp closed 3 weeks ago
The binned_scale()
function is not missing, it is exported as usual. The error message is about binned_pal
, which is an internal function that was renamed to pal_binned()
. This is the kind of risk one has to accept if you're using internal functions in your code.
I have a lot of code that uses binned color scales similar to what was described in https://stackoverflow.com/questions/66318404/how-to-use-specific-filling-colors-when-using-scale-fill-binned/78614646#78614646
The reprex below is mostly taken from the thread on StackOverflow. Basically, the idea is to define exact colors for binned color scales.
This works well on ggplot v3.4.x.
Now I upgraded to 3.5.1 and I get an error
It seems like the function binned_scale is not a part of ggplot anymore. Has binned_scale been retired?
Created on 2024-06-12 with reprex v2.1.0