Skip to content

Commit 80fef9c

Browse files
Move an unreleased item to development version (#4380)
1 parent 4e88c25 commit 80fef9c

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

NEWS.md

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

3+
* `coord_sf()` now has an argument `default_crs` that specifies the coordinate
4+
reference system (CRS) for non-sf layers and scale/coord limits. This argument
5+
defaults to the World Geodetic System 1984 (WGS84), which means x and y positions
6+
are interpreted as longitude and latitude. This is a potentially breaking change
7+
for users who use projected coordinates in non-sf layers or in limits. Setting
8+
`default_crs = NULL` recovers the old behavior. Further, authors of extension
9+
packages implementing `stat_sf()`-like functionality are encouraged to look at the
10+
source code of `stat_sf()`'s `compute_group()` function to see how to provide
11+
scale-limit hints to `coord_sf()` (@clauswilke, #3659).
12+
313
* `ggsave()` now sets the default background to match the fill value of the
414
`plot.background` theme element (@karawoo, #4057)
515

@@ -58,16 +68,6 @@ This is a small release focusing on fixing regressions introduced in 3.3.1.
5868

5969
* `annotation_raster()` adds support for native rasters. For large rasters,
6070
native rasters render significantly faster than arrays (@kent37, #3388)
61-
62-
* `coord_sf()` now has an argument `default_crs` that specifies the coordinate
63-
reference system (CRS) for non-sf layers and scale/coord limits. This argument
64-
defaults to the World Geodetic System 1984 (WGS84), which means x and y positions
65-
are interpreted as longitude and latitude. This is a potentially breaking change
66-
for users who use projected coordinates in non-sf layers or in limits. Setting
67-
`default_crs = NULL` recovers the old behavior. Further, authors of extension
68-
packages implementing `stat_sf()`-like functionality are encouraged to look at the
69-
source code of `stat_sf()`'s `compute_group()` function to see how to provide
70-
scale-limit hints to `coord_sf()` (@clauswilke, #3659).
7171

7272
* Facet strips now have dedicated position-dependent theme elements
7373
(`strip.text.x.top`, `strip.text.x.bottom`, `strip.text.y.left`,

0 commit comments

Comments
 (0)