Closed
Description
The documentation is incorrect:
continuous_scale package:ggplot2 R Documentation
Continuous scale constructor.
Description:
Continuous scale constructor.
Usage:
continuous_scale(aesthetics, scale_name, palette, name = waiver(),
breaks = waiver(), minor_breaks = waiver(), labels = waiver(),
limits = NULL, rescaler = rescale, oob = censor, expand = waiver(),
na.value = NA_real_, trans = "identity", guide = "legend",
position = "left", super = ScaleContinuous)
Arguments:
aesthetics: The names of the aesthetics that this scale works with
scale_name: The name of the scale
palette: A palette function that when called with a single integer
argument (the number of levels in the scale) returns the
values that they should take
This is the expected behavior of palette
for discrete_scale
. Currently continuous_scale
and discrete_scale
share the same documentation for this parameter. PR coming shortly.
Metadata
Metadata
Assignees
Labels
No labels