Closed
Description
I recently upgraded to ggplot2 version 3.0.0, and I was surprised by the change to discrete scales where I was now getting a yellow value (near-invisible on a white background). As I was looking into how to change the default back to the prior behavior, I noticed inconsistent handling of colour scale types with ggplot2 version 3.
- In
scale_colour_continuous()
a newtype
argument along with an option managed bygetOption("ggplot2.continuous.colour", default="gradient")
determines how the scale is determined. scale_colour_ordinal()
is assigned toscale_colour_viridis_d()
, but it is not mentioned in the manual.
If global options will be the way that default scales are managed in the future, could a new help page be added for all the options that control ggplot2? (My preference is that this will be moved away from.)
Can the default function used to control each scale be defined in a single help page to assist with finding how to change the default behavior?