|
1 | 1 | # ggplot2 (development version)
|
2 | 2 |
|
| 3 | +* Custom and raster annotation now respond to scale transformations, and can |
| 4 | + use AsIs variables for relative placement (@teunbrand based on |
| 5 | + @yutannihilation's prior work, #3120) |
| 6 | +* When discrete breaks have names, they'll be used as labels by default |
| 7 | + (@teunbrand, #6147). |
| 8 | +* The helper function `is.waiver()` is now exported to help extensions to work |
| 9 | + with `waiver()` objects (@arcresu, #6173). |
| 10 | +* Date(time) scales now throw appropriate errors when `date_breaks`, |
| 11 | + `date_minor_breaks` or `date_labels` are not strings (@RodDalBen, #5880) |
| 12 | +* `geom_errorbarh()` is deprecated in favour of |
| 13 | + `geom_errorbar(orientation = "y")` (@teunbrand, #5961). |
| 14 | +* `geom_contour()` should be able to recognise a rotated grid of points |
| 15 | + (@teunbrand, #4320) |
| 16 | +* `geom_boxplot()` gains additional arguments to style the colour, linetype and |
| 17 | + linewidths of the box, whiskers, median line and staples (@teunbrand, #5126) |
| 18 | +* (internal) Using `after_scale()` in the `Geom*$default_aes()` field is now |
| 19 | + evaluated in the context of data (@teunbrand, #6135) |
| 20 | +* Fixed bug where binned scales wouldn't simultaneously accept transformations |
| 21 | + and function-limits (@teunbrand, #6144). |
| 22 | +* Fixed bug where the `ggplot2::`-prefix did not work with `stage()` |
| 23 | + (@teunbrand, #6104). |
| 24 | +* New `get_labs()` function for retrieving completed plot labels |
| 25 | + (@teunbrand, #6008). |
| 26 | +* Built-in `theme_*()` functions now have `ink` and `paper` arguments to control |
| 27 | + foreground and background colours respectively (@teunbrand) |
| 28 | +* The `summary()` method for ggplots is now more terse about facets |
| 29 | + (@teunbrand, #5989). |
| 30 | +* `guide_bins()`, `guide_colourbar()` and `guide_coloursteps()` gain an `angle` |
| 31 | + argument to overrule theme settings, similar to `guide_axis(angle)` |
| 32 | + (@teunbrand, #4594). |
| 33 | +* `coord_*(expand)` can now take a logical vector to control expansion at any |
| 34 | + side of the panel (top, right, bottom, left) (@teunbrand, #6020) |
| 35 | +* (Breaking) The defaults for all geoms can be set at one in the theme. |
| 36 | + (@teunbrand based on pioneering work by @dpseidel, #2239) |
| 37 | + * A new `theme(geom)` argument is used to track these defaults. |
| 38 | + * The `element_geom()` function can be used to populate that argument. |
| 39 | + * The `from_theme()` function allows access to the theme default fields from |
| 40 | + inside the `aes()` function. |
| 41 | +* Passing empty unmapped aesthetics to layers raises a warning instead of |
| 42 | + throwing an error (@teunbrand, #6009). |
| 43 | +* Moved {mgcv} from Imports to Suggests (@teunbrand, #5986) |
| 44 | +* New `reset_geom_defaults()` and `reset_stat_defaults()` to restore all geom or |
| 45 | + stat default aesthetics at once (@teunbrand, #5975). |
| 46 | +* `facet_wrap()` can have `space = "free_x"` with 1-row layouts and |
| 47 | + `space = "free_y"` with 1-column layouts (@teunbrand) |
| 48 | +* Secondary axes respect `n.breaks` setting in continuous scales (@teunbrand, #4483). |
| 49 | +* Layers can have names (@teunbrand, #4066). |
| 50 | +* (internal) improvements to `pal_qualitative()` (@teunbrand, #5013) |
| 51 | +* `coord_radial(clip = "on")` clips to the panel area when the graphics device |
| 52 | + supports clipping paths (@teunbrand, #5952). |
| 53 | +* (internal) Panel clipping responsibility moved from Facet class to Coord |
| 54 | + class through new `Coord$draw_panel()` method. |
| 55 | +* `theme(strip.clip)` now defaults to `"on"` and is independent of Coord |
| 56 | + clipping (@teunbrand, 5952). |
| 57 | +* (internal) rearranged the code of `Facet$draw_panels()` method (@teunbrand). |
| 58 | +* Axis labels are now justified across facet panels (@teunbrand, #5820) |
| 59 | +* Fixed bug in `stat_function()` so x-axis title now produced automatically |
| 60 | + when no data added. (@phispu, #5647). |
3 | 61 | * geom_sf now accepts shape names (@sierrajohnson, #5808)
|
4 | 62 | * Added `gg` class to `labs()` (@phispu, #5553).
|
5 | 63 | * Missing values from discrete palettes are no longer translated
|
|
135 | 193 | (@teunbrand, #5938, #4327).
|
136 | 194 | * Fixed bug where empty discrete scales weren't recognised as such
|
137 | 195 | (@teunbrand, #5945).
|
| 196 | +* (internal) The summary function of `stat_summary()` and `stat_summary_bin()` |
| 197 | + is setup once in total instead of once per group (@teunbrand, #5971) |
| 198 | +* `facet_grid(space = "free")` can now be combined with `coord_fixed()` |
| 199 | + (@teunbrand, #4584). |
| 200 | +* `theme_classic()` now has black ticks and text instead of dark gray. In |
| 201 | + addition, `theme_classic()`'s axis line end is `"square"` (@teunbrand, #5978). |
| 202 | +* {tibble} is now suggested instead of imported (@teunbrand, #5986) |
| 203 | +* The ellipsis argument is now checked in `fortify()`, `get_alt_text()`, |
| 204 | + `labs()` and several guides (@teunbrand, #3196). |
| 205 | +* `stat_summary_bin()` no longer ignores `width` parameter (@teunbrand, #4647). |
| 206 | +* Added `keep.zeroes` argument to `stat_bin()` (@teunbrand, #3449) |
| 207 | +* `coord_sf()` no longer errors when dealing with empty graticules (@teunbrand, #6052) |
138 | 208 |
|
139 | 209 | # ggplot2 3.5.1
|
140 | 210 |
|
@@ -181,6 +251,7 @@ documentation updates.
|
181 | 251 | * `annotate()` now warns about `stat` or `position` arguments (@teunbrand, #5151)
|
182 | 252 | * `guide_coloursteps(even.steps = FALSE)` now works with discrete data that has
|
183 | 253 | been formatted by `cut()` (@teunbrand, #3877).
|
| 254 | +* `ggsave()` now offers to install svglite if needed (@eliocamp, #6166). |
184 | 255 |
|
185 | 256 | # ggplot2 3.5.0
|
186 | 257 |
|
|
0 commit comments