|
2 | 2 |
|
3 | 3 | * (internal) layer data can be attenuated with parameter attributes |
4 | 4 | (@teunbrand, #3175). |
| 5 | +* Position adjustments can now have auxiliary aesthetics (@teunbrand). |
| 6 | + * `position_nudge()` gains `nudge_x` and `nudge_y` aesthetics (#3026, #5445). |
| 7 | + * `position_dodge()` gains `order` aesthetic (#3022, #3345) |
| 8 | +* More stability for vctrs-based palettes (@teunbrand, #6117). |
| 9 | +* Fixed regression in `guide_bins(reverse = TRUE)` (@teunbrand, #6183). |
| 10 | +* New function family for setting parts of a theme. For example, you can now use |
| 11 | + `theme_sub_axis(line, text, ticks, ticks.length, line)` as a substitute for |
| 12 | + `theme(axis.line, axis.text, axis.ticks, axis.ticks.length, axis.line)`. This |
| 13 | + should allow slightly terser and more organised theme declarations |
| 14 | + (@teunbrand, #5301). |
| 15 | +* `scale_{x/y}_discrete(continuous.limits)` is a new argument to control the |
| 16 | + display range of discrete scales (@teunbrand, #4174, #6259). |
| 17 | +* `geom_ribbon()` now appropriately warns about, and removes, missing values |
| 18 | + (@teunbrand, #6243). |
| 19 | +* `guide_*()` can now accept two inside legend theme elements: |
| 20 | + `legend.position.inside` and `legend.justification.inside`, allowing inside |
| 21 | + legends to be placed at different positions. Only inside legends with the same |
| 22 | + position and justification will be merged (@Yunuuuu, #6210). |
| 23 | +* New stat: `stat_manual()` for arbitrary computations (@teunbrand, #3501) |
| 24 | +* Reversal of a dimension, typically 'x' or 'y', is now controlled by the |
| 25 | + `reverse` argument in `coord_cartesian()`, `coord_fixed()`, `coord_radial()` |
| 26 | + and `coord_sf()`. In `coord_radial()`, this replaces the older `direction` |
| 27 | + argument (#4021, @teunbrand). |
| 28 | +* `coord_radial()` displays minor gridlines now (@teunbrand). |
| 29 | +* (internal) `continuous_scale()` and `binned_scale()` sort the `limits` |
| 30 | + argument internally (@teunbrand). |
| 31 | +* Theme margins can have NA-units to inherit from parent elements. The new |
| 32 | + function `margin_part()` has NA-units as default (@teunbrand, #6115) |
| 33 | +* New `margin_auto()` specification for theme margins. |
5 | 34 | * New argument `labs(dictionary)` to label based on variable name rather than |
6 | 35 | based on aesthetic (@teunbrand, #5178) |
7 | 36 | * Fixed bug in out-of-bounds binned breaks (@teunbrand, #6054) |
|
29 | 58 | (@teunbrand, #4320) |
30 | 59 | * `geom_boxplot()` gains additional arguments to style the colour, linetype and |
31 | 60 | linewidths of the box, whiskers, median line and staples (@teunbrand, #5126) |
| 61 | +* `geom_violin()` gains additional arguments to style the colour, linetype and |
| 62 | + linewidths of the quantiles, which replace the now-deprecated `draw_quantiles` |
| 63 | + argument (#5912). |
| 64 | +* (breaking) `geom_violin(quantiles)` now has actual quantiles based on |
| 65 | + the data, rather than inferred quantiles based on the computed density. The |
| 66 | + `quantiles` parameter that replaces `draw_quantiles` now belongs to |
| 67 | + `stat_ydensity()` instead of `geom_violin()` (@teunbrand, #4120). |
32 | 68 | * (internal) Using `after_scale()` in the `Geom*$default_aes()` field is now |
33 | 69 | evaluated in the context of data (@teunbrand, #6135) |
34 | 70 | * Fixed bug where binned scales wouldn't simultaneously accept transformations |
|
218 | 254 | `labs()` and several guides (@teunbrand, #3196). |
219 | 255 | * `stat_summary_bin()` no longer ignores `width` parameter (@teunbrand, #4647). |
220 | 256 | * Added `keep.zeroes` argument to `stat_bin()` (@teunbrand, #3449) |
| 257 | +* (internal) removed barriers for using 2D structures as aesthetics |
| 258 | + (@teunbrand, #4189). |
221 | 259 | * `coord_sf()` no longer errors when dealing with empty graticules (@teunbrand, #6052) |
222 | 260 | * Added `theme_transparent()` with transparent backgrounds (@topepo). |
223 | 261 | * New theme elements `palette.{aes}.discrete` and `palette.{aes}.continuous`. |
224 | 262 | Theme palettes replace palettes in scales where `palette = NULL`, which is |
225 | 263 | the new default in many scales (@teunbrand, #4696). |
226 | 264 | * `guide_axis()` no longer reserves space for blank ticks |
227 | 265 | (@teunbrand, #4722, #6069). |
| 266 | +* `geom_abline()` clips to the panel range in the vertical direction too |
| 267 | + (@teunbrand, #6086). |
| 268 | +* Added `panel.widths` and `panel.heights` to `theme()` (#5338, @teunbrand). |
| 269 | +* Standardised the calculation of `width`, which are now implemented as |
| 270 | + aesthetics (@teunbrand, #2800). |
| 271 | +* Stricter check on `register_theme_elements(element_tree)` (@teunbrand, #6162) |
| 272 | +* Added `weight` aesthetic for `stat_ellipse()` (@teunbrand, #5272) |
228 | 273 |
|
229 | 274 | # ggplot2 3.5.1 |
230 | 275 |
|
|
0 commit comments