No new features, but a relatively important rewrite of the internals and updated dependency on ggplot2 3.5.0 to support the new Guides system (and only the new one).
- Layers will retain custom attributes. (#65, @rsh52)
- Fixes a bug when adding more than one extra scale and using geoms without explicit mapping (#45)
- Updates documentation to conform to latest CRAN HTML5 requirements.
new_scale()
respectsoverride.aes
arguments (#43, thanks @jgabry)
- Fixes guides not being recognised when defined outside scales (#38, thanks @PursuitOfDataScience)
- Necessary version change due to some CRAN stuff. No user-visible changes.
- Fixes incompatibility with stats with custom
setup_data
(#27, thanks @carlschmidt26 !)
- Fixes partial matching warning properly this time (🤞️). (#24 #25, thanks @hadley and @ leesaudan2)
- Fixed partial matching warning. (#24, thanks @hadley)
- Fixed error when adding a scale with
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 globalggplot()
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 whenguide = "none"
orguide = 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.