|
1 | 1 | # ggplot2 (development version) |
2 | 2 |
|
| 3 | +* Passing empty unmapped aesthetics to layers raises a warning instead of |
| 4 | + throwing an error (@teunbrand, #6009). |
| 5 | +* Moved {mgcv} from Imports to Suggests (@teunbrand, #5986) |
| 6 | +* New `reset_geom_defaults()` and `reset_stat_defaults()` to restore all geom or |
| 7 | + stat default aesthetics at once (@teunbrand, #5975). |
| 8 | +* `facet_wrap()` can have `space = "free_x"` with 1-row layouts and |
| 9 | + `space = "free_y"` with 1-column layouts (@teunbrand) |
| 10 | +* Secondary axes respect `n.breaks` setting in continuous scales (@teunbrand, #4483). |
| 11 | +* Layers can have names (@teunbrand, #4066). |
| 12 | +* (internal) improvements to `pal_qualitative()` (@teunbrand, #5013) |
| 13 | +* `coord_radial(clip = "on")` clips to the panel area when the graphics device |
| 14 | + supports clipping paths (@teunbrand, #5952). |
| 15 | +* (internal) Panel clipping responsibility moved from Facet class to Coord |
| 16 | + class through new `Coord$draw_panel()` method. |
| 17 | +* `theme(strip.clip)` now defaults to `"on"` and is independent of Coord |
| 18 | + clipping (@teunbrand, 5952). |
| 19 | +* (internal) rearranged the code of `Facet$draw_paensl()` method (@teunbrand). |
| 20 | +* Axis labels are now justified across facet panels (@teunbrand, #5820) |
| 21 | +* Fixed bug in `stat_function()` so x-axis title now produced automatically |
| 22 | + when no data added. (@phispu, #5647). |
| 23 | +* geom_sf now accepts shape names (@sierrajohnson, #5808) |
| 24 | +* Added `gg` class to `labs()` (@phispu, #5553). |
3 | 25 | * Missing values from discrete palettes are no longer translated |
4 | 26 | (@teunbrand, #5929). |
5 | 27 | * Fixed bug in `facet_grid(margins = TRUE)` when using expresssions |
|
133 | 155 | (@teunbrand, #5938, #4327). |
134 | 156 | * Fixed bug where empty discrete scales weren't recognised as such |
135 | 157 | (@teunbrand, #5945). |
| 158 | +* (internal) The summary function of `stat_summary()` and `stat_summary_bin()` |
| 159 | + is setup once in total instead of once per group (@teunbrand, #5971) |
| 160 | +* `facet_grid(space = "free")` can now be combined with `coord_fixed()` |
| 161 | + (@teunbrand, #4584). |
| 162 | +* `theme_classic()` now has black ticks and text instead of dark gray. In |
| 163 | + addition, `theme_classic()`'s axis line end is `"square"` (@teunbrand, #5978). |
| 164 | +* {tibble} is now suggested instead of imported (@teunbrand, #5986) |
136 | 165 | * `coord_trans()` renamed to `coord_transform()` (@nmercadeb, #5825). |
137 | 166 |
|
138 | 167 | # ggplot2 3.5.1 |
@@ -751,7 +780,7 @@ gains in rendering speed. |
751 | 780 |
|
752 | 781 | * `geom_linerange()` now respects the `na.rm` argument (#4927, @thomasp85) |
753 | 782 |
|
754 | | -* Improve the support for `guide_axis()` on `coord_transform()` |
| 783 | +* Improve the support for `guide_axis()` on `coord_trans()` |
755 | 784 | (@yutannihilation, #3959) |
756 | 785 |
|
757 | 786 | * Added `stat_align()` to align data without common x-coordinates prior to |
@@ -1195,17 +1224,17 @@ fail. |
1195 | 1224 |
|
1196 | 1225 | ## Minor improvements and bug fixes |
1197 | 1226 |
|
1198 | | -* `coord_transform()` now draws second axes and accepts `xlim`, `ylim`, |
| 1227 | +* `coord_trans()` now draws second axes and accepts `xlim`, `ylim`, |
1199 | 1228 | and `expand` arguments to bring it up to feature parity with |
1200 | 1229 | `coord_cartesian()`. The `xtrans` and `ytrans` arguments that were |
1201 | 1230 | deprecated in version 1.0.1 in favour of `x` and `y` |
1202 | 1231 | were removed (@paleolimbot, #2990). |
1203 | 1232 |
|
1204 | | -* `coord_transform()` now calculates breaks using the expanded range |
| 1233 | +* `coord_trans()` now calculates breaks using the expanded range |
1205 | 1234 | (previously these were calculated using the unexpanded range, |
1206 | | - which resulted in differences between plots made with `coord_transform()` |
| 1235 | + which resulted in differences between plots made with `coord_trans()` |
1207 | 1236 | and those made with `coord_cartesian()`). The expansion for discrete axes |
1208 | | - in `coord_transform()` was also updated such that it behaves identically |
| 1237 | + in `coord_trans()` was also updated such that it behaves identically |
1209 | 1238 | to that in `coord_cartesian()` (@paleolimbot, #3338). |
1210 | 1239 |
|
1211 | 1240 | * `expand_scale()` was deprecated in favour of `expansion()` for setting |
@@ -1545,7 +1574,7 @@ accompanying issue #2890. |
1545 | 1574 | (@mikmart, #2488). |
1546 | 1575 |
|
1547 | 1576 | * `geom_hline()`, `geom_vline()`, and `geom_abline()` now work properly |
1548 | | - with `coord_transform()` (@clauswilke, #2149, #2812). |
| 1577 | + with `coord_trans()` (@clauswilke, #2149, #2812). |
1549 | 1578 |
|
1550 | 1579 | * `geom_text(..., parse = TRUE)` now correctly renders the expected number of |
1551 | 1580 | items instead of silently dropping items that are empty expressions, e.g. |
@@ -1988,7 +2017,7 @@ accompanying issue #2890. |
1988 | 2017 | (@dylan-stark, #2072), and can draw the radius axis on the right |
1989 | 2018 | (@thomasp85, #2005). |
1990 | 2019 |
|
1991 | | -* `coord_transform()` now generates a warning when a transformation generates |
| 2020 | +* `coord_trans()` now generates a warning when a transformation generates |
1992 | 2021 | non-finite values (@foo-bar-baz-qux, #2147). |
1993 | 2022 |
|
1994 | 2023 | ### Themes |
@@ -2817,7 +2846,7 @@ version of ggplot. |
2817 | 2846 | * `coord_cartesian()` applies the same expansion factor to limits as for scales. |
2818 | 2847 | You can suppress with `expand = FALSE` (#1207). |
2819 | 2848 |
|
2820 | | -* `coord_transform()` now works when breaks are suppressed (#1422). |
| 2849 | +* `coord_trans()` now works when breaks are suppressed (#1422). |
2821 | 2850 |
|
2822 | 2851 | * `cut_number()` gives error message if the number of requested bins can |
2823 | 2852 | be created because there are two few unique values (#1046). |
|
0 commit comments