Skip to content

Commit 19d2c4e

Browse files
committed
revert NEWS.md revision
1 parent f71fdaa commit 19d2c4e

File tree

1 file changed

+37
-8
lines changed

1 file changed

+37
-8
lines changed

NEWS.md

Lines changed: 37 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,27 @@
11
# ggplot2 (development version)
22

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).
325
* Missing values from discrete palettes are no longer translated
426
(@teunbrand, #5929).
527
* Fixed bug in `facet_grid(margins = TRUE)` when using expresssions
@@ -133,6 +155,13 @@
133155
(@teunbrand, #5938, #4327).
134156
* Fixed bug where empty discrete scales weren't recognised as such
135157
(@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)
136165
* `coord_trans()` renamed to `coord_transform()` (@nmercadeb, #5825).
137166

138167
# ggplot2 3.5.1
@@ -751,7 +780,7 @@ gains in rendering speed.
751780

752781
* `geom_linerange()` now respects the `na.rm` argument (#4927, @thomasp85)
753782

754-
* Improve the support for `guide_axis()` on `coord_transform()`
783+
* Improve the support for `guide_axis()` on `coord_trans()`
755784
(@yutannihilation, #3959)
756785

757786
* Added `stat_align()` to align data without common x-coordinates prior to
@@ -1195,17 +1224,17 @@ fail.
11951224

11961225
## Minor improvements and bug fixes
11971226

1198-
* `coord_transform()` now draws second axes and accepts `xlim`, `ylim`,
1227+
* `coord_trans()` now draws second axes and accepts `xlim`, `ylim`,
11991228
and `expand` arguments to bring it up to feature parity with
12001229
`coord_cartesian()`. The `xtrans` and `ytrans` arguments that were
12011230
deprecated in version 1.0.1 in favour of `x` and `y`
12021231
were removed (@paleolimbot, #2990).
12031232

1204-
* `coord_transform()` now calculates breaks using the expanded range
1233+
* `coord_trans()` now calculates breaks using the expanded range
12051234
(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()`
12071236
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
12091238
to that in `coord_cartesian()` (@paleolimbot, #3338).
12101239

12111240
* `expand_scale()` was deprecated in favour of `expansion()` for setting
@@ -1545,7 +1574,7 @@ accompanying issue #2890.
15451574
(@mikmart, #2488).
15461575

15471576
* `geom_hline()`, `geom_vline()`, and `geom_abline()` now work properly
1548-
with `coord_transform()` (@clauswilke, #2149, #2812).
1577+
with `coord_trans()` (@clauswilke, #2149, #2812).
15491578

15501579
* `geom_text(..., parse = TRUE)` now correctly renders the expected number of
15511580
items instead of silently dropping items that are empty expressions, e.g.
@@ -1988,7 +2017,7 @@ accompanying issue #2890.
19882017
(@dylan-stark, #2072), and can draw the radius axis on the right
19892018
(@thomasp85, #2005).
19902019
1991-
* `coord_transform()` now generates a warning when a transformation generates
2020+
* `coord_trans()` now generates a warning when a transformation generates
19922021
non-finite values (@foo-bar-baz-qux, #2147).
19932022
19942023
### Themes
@@ -2817,7 +2846,7 @@ version of ggplot.
28172846
* `coord_cartesian()` applies the same expansion factor to limits as for scales.
28182847
You can suppress with `expand = FALSE` (#1207).
28192848

2820-
* `coord_transform()` now works when breaks are suppressed (#1422).
2849+
* `coord_trans()` now works when breaks are suppressed (#1422).
28212850

28222851
* `cut_number()` gives error message if the number of requested bins can
28232852
be created because there are two few unique values (#1046).

0 commit comments

Comments
 (0)