Nothing
name
in scale_*_*()
functions is now used to define the title of the legend, to make this consistent with other {ggplot2} scale
functions. If you have previously used e.g. scale_fill_manual(name = "Bright")
to say you want to use the "Bright"
palette, this will result in an error. Please use scale_fill_manual(palette = "Bright")
instead.legend_title
in scale_*_*()
functions is deprecated. Please use name
instead. For now, legend_title
still works. scale_*_pretty_div()
diverging scale functionsmtcars
datascale_name
from discrete_scale()
callslegend_title
argument to scale functionsprint.palette
to add bordercomplementary_color()
view_all_palettes()
functionAutumn
, Winter
, Rainbow
, Teals
and TealGreens
palettesRelax
paletteAny scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.