Skip to content

Inconsistent Scale Management #2851

Closed
Closed
@billdenney

Description

@billdenney

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 new type argument along with an option managed by getOption("ggplot2.continuous.colour", default="gradient") determines how the scale is determined.
  • scale_colour_ordinal() is assigned to scale_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?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions