new_scale()
respects override.aes
arguments (#43, thanks @jgabry)setup_data
(#27, thanks @carlschmidt26 !)ggplot2
not loaded. (#21, thanks @rmendels)new_scale()
doesn't change plot by reference (#13, thanks @raymondben).
Fixed bug in R versions older than 3.5 (#12, thanks @raymondben).
Added support for aesthetics set outside aes()
(#16, thanks @raymondben).
new_scale()
will work with aesthetics defined in the global ggplot()
call (#18, thanks @efratushava).
New website at https://eliocamp.github.io/ggnewscale/
new_scale()
adds a default scale if not supplied.
new_scale()
does not fail when guide = "none"
or guide = FALSE
(#6, thanks @Maschette)
new_scale()
does not fail when using the default mapping (#7, thanks \@ RomanAbashin)
Fixed error when defining positional scales before new_scales()
(#2, thanks @willgearty)
Added a NEWS.md
file to track changes to the package.
Any 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.