|
133 | 133 | (@teunbrand, #5938, #4327).
|
134 | 134 | * Fixed bug where empty discrete scales weren't recognised as such
|
135 | 135 | (@teunbrand, #5945).
|
| 136 | +* `coord_trans()` renamed to `coord_transform()` (@nmercadeb, #5825). |
136 | 137 |
|
137 | 138 | # ggplot2 3.5.1
|
138 | 139 |
|
@@ -750,7 +751,7 @@ gains in rendering speed.
|
750 | 751 |
|
751 | 752 | * `geom_linerange()` now respects the `na.rm` argument (#4927, @thomasp85)
|
752 | 753 |
|
753 |
| -* Improve the support for `guide_axis()` on `coord_trans()` |
| 754 | +* Improve the support for `guide_axis()` on `coord_transform()` |
754 | 755 | (@yutannihilation, #3959)
|
755 | 756 |
|
756 | 757 | * Added `stat_align()` to align data without common x-coordinates prior to
|
@@ -1194,17 +1195,17 @@ fail.
|
1194 | 1195 |
|
1195 | 1196 | ## Minor improvements and bug fixes
|
1196 | 1197 |
|
1197 |
| -* `coord_trans()` now draws second axes and accepts `xlim`, `ylim`, |
| 1198 | +* `coord_transform()` now draws second axes and accepts `xlim`, `ylim`, |
1198 | 1199 | and `expand` arguments to bring it up to feature parity with
|
1199 | 1200 | `coord_cartesian()`. The `xtrans` and `ytrans` arguments that were
|
1200 | 1201 | deprecated in version 1.0.1 in favour of `x` and `y`
|
1201 | 1202 | were removed (@paleolimbot, #2990).
|
1202 | 1203 |
|
1203 |
| -* `coord_trans()` now calculates breaks using the expanded range |
| 1204 | +* `coord_transform()` now calculates breaks using the expanded range |
1204 | 1205 | (previously these were calculated using the unexpanded range,
|
1205 |
| - which resulted in differences between plots made with `coord_trans()` |
| 1206 | + which resulted in differences between plots made with `coord_transform()` |
1206 | 1207 | and those made with `coord_cartesian()`). The expansion for discrete axes
|
1207 |
| - in `coord_trans()` was also updated such that it behaves identically |
| 1208 | + in `coord_transform()` was also updated such that it behaves identically |
1208 | 1209 | to that in `coord_cartesian()` (@paleolimbot, #3338).
|
1209 | 1210 |
|
1210 | 1211 | * `expand_scale()` was deprecated in favour of `expansion()` for setting
|
@@ -1544,7 +1545,7 @@ accompanying issue #2890.
|
1544 | 1545 | (@mikmart, #2488).
|
1545 | 1546 |
|
1546 | 1547 | * `geom_hline()`, `geom_vline()`, and `geom_abline()` now work properly
|
1547 |
| - with `coord_trans()` (@clauswilke, #2149, #2812). |
| 1548 | + with `coord_transform()` (@clauswilke, #2149, #2812). |
1548 | 1549 |
|
1549 | 1550 | * `geom_text(..., parse = TRUE)` now correctly renders the expected number of
|
1550 | 1551 | items instead of silently dropping items that are empty expressions, e.g.
|
@@ -1987,7 +1988,7 @@ accompanying issue #2890.
|
1987 | 1988 | (@dylan-stark, #2072), and can draw the radius axis on the right
|
1988 | 1989 | (@thomasp85, #2005).
|
1989 | 1990 |
|
1990 |
| -* `coord_trans()` now generates a warning when a transformation generates |
| 1991 | +* `coord_transform()` now generates a warning when a transformation generates |
1991 | 1992 | non-finite values (@foo-bar-baz-qux, #2147).
|
1992 | 1993 |
|
1993 | 1994 | ### Themes
|
@@ -2816,7 +2817,7 @@ version of ggplot.
|
2816 | 2817 | * `coord_cartesian()` applies the same expansion factor to limits as for scales.
|
2817 | 2818 | You can suppress with `expand = FALSE` (#1207).
|
2818 | 2819 |
|
2819 |
| -* `coord_trans()` now works when breaks are suppressed (#1422). |
| 2820 | +* `coord_transform()` now works when breaks are suppressed (#1422). |
2820 | 2821 |
|
2821 | 2822 | * `cut_number()` gives error message if the number of requested bins can
|
2822 | 2823 | be created because there are two few unique values (#1046).
|
|
0 commit comments