NEWS
ggnewscale 0.5.2.9000
Internals
- Implemented a new method of adding scales that should be faster. Instead of building the whole plot to let ggplot2 discover the default scales, ggnewscale now creates default scales for the new aes. This should lead to performance improvement (#78)
Bugfixes
- Fixes a bug that removed guides in some cases (#72)
ggnewscale 0.5.2 (2025-06-20)
Adds compatibility with ggplot2 4.0.0
ggnewscale 0.5.1 (2025-02-24)
Adds new startup message.
ggnewscale 0.5.0 (2024-07-19)
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).
Bugfixes
- Layers will retain custom attributes. (#65, @rsh52)
ggnewscale 0.4.10 (2024-02-08)
ggnewscale 0.4.9 (2023-05-25)
Bugfixes
- Fixes a bug when adding more than one extra scale and using geoms without explicit mapping (#45)
ggnewscale 0.4.8 (2022-10-06)
- Updates documentation to conform to latest CRAN HTML5 requirements.
ggnewscale 0.4.7 (2022-03-25)
Bugfixes
new_scale() respects override.aes arguments (#43, thanks @jgabry)
ggnewscale 0.4.6 (2022-02-15)
Bugfixes
ggnewscale 0.4.5 (2021-01-11)
- Necessary version change due to some CRAN stuff. No user-visible changes.
ggnewscale 0.4.4 (2020-12-02)
Bugfixes
- Fixes incompatibility with stats with custom
setup_data (#27, thanks @carlschmidt26 !)
ggnewscale 0.4.3 (2020-08-27)
Bugfixes
- Fixes partial matching warning properly this time (🤞️). (#24 #25, thanks @hadley and @ leesaudan2)
ggnewscale 0.4.2 (2020-08-01)
Bugfixes
- Fixed partial matching warning. (#24, thanks @hadley)
ggnewscale 0.4.1 (2020-02-13)
Bugfixes
- Fixed error when adding a scale with
ggplot2 not loaded. (#21, thanks @rmendels)
ggnewscale 0.4.0 (2019-10-06)
Bugfixes
-
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).
ggnewscale 0.3.0 (2019-07-05)
New features
Bugfixes
-
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)
ggnewscale 0.2.0 (2019-03-17)
Bugfixes
-
Fixed error when defining positional scales before new_scales() (#2, thanks @willgearty)
-
Added a NEWS.md file to track changes to the package.