|
1 | 1 | # ggplot2 (development version)
|
2 | 2 |
|
3 |
| -* Fixed a bug where the `guide_custom(order)` wasn't working (@teunbrand, #6195) |
| 3 | +* Position adjustments can now have auxiliary aesthetics (@teunbrand). |
| 4 | + * `position_nudge()` gains `nudge_x` and `nudge_y` aesthetics (#3026, #5445). |
| 5 | + * `position_dodge()` gains `order` aesthetic (#3022, #3345) |
| 6 | +* More stability for vctrs-based palettes (@teunbrand, #6117). |
| 7 | +* Fixed regression in `guide_bins(reverse = TRUE)` (@teunbrand, #6183). |
| 8 | +* New function family for setting parts of a theme. For example, you can now use |
| 9 | + `theme_sub_axis(line, text, ticks, ticks.length, line)` as a substitute for |
| 10 | + `theme(axis.line, axis.text, axis.ticks, axis.ticks.length, axis.line)`. This |
| 11 | + should allow slightly terser and more organised theme declarations |
| 12 | + (@teunbrand, #5301). |
| 13 | +* `scale_{x/y}_discrete(continuous.limits)` is a new argument to control the |
| 14 | + display range of discrete scales (@teunbrand, #4174, #6259). |
| 15 | +* `geom_ribbon()` now appropriately warns about, and removes, missing values |
| 16 | + (@teunbrand, #6243). |
| 17 | +* `guide_*()` can now accept two inside legend theme elements: |
| 18 | + `legend.position.inside` and `legend.justification.inside`, allowing inside |
| 19 | + legends to be placed at different positions. Only inside legends with the same |
| 20 | + position and justification will be merged (@Yunuuuu, #6210). |
| 21 | +* New stat: `stat_manual()` for arbitrary computations (@teunbrand, #3501) |
| 22 | +* Reversal of a dimension, typically 'x' or 'y', is now controlled by the |
| 23 | + `reverse` argument in `coord_cartesian()`, `coord_fixed()`, `coord_radial()` |
| 24 | + and `coord_sf()`. In `coord_radial()`, this replaces the older `direction` |
| 25 | + argument (#4021, @teunbrand). |
| 26 | +* `coord_radial()` displays minor gridlines now (@teunbrand). |
| 27 | +* (internal) `continuous_scale()` and `binned_scale()` sort the `limits` |
| 28 | + argument internally (@teunbrand). |
| 29 | +* Theme margins can have NA-units to inherit from parent elements. The new |
| 30 | + function `margin_part()` has NA-units as default (@teunbrand, #6115) |
| 31 | +* New `margin_auto()` specification for theme margins. |
| 32 | +* New argument `labs(dictionary)` to label based on variable name rather than |
| 33 | + based on aesthetic (@teunbrand, #5178) |
| 34 | +* Fixed bug in out-of-bounds binned breaks (@teunbrand, #6054) |
| 35 | +* Binned guides now accept expressions as labels (@teunbrand, #6005) |
| 36 | +* (internal) `Scale$get_labels()` format expressions as lists. |
| 37 | +* In non-orthogonal coordinate systems (`coord_sf()`, `coord_polar()` and |
| 38 | + `coord_radial()`), using 'AsIs' variables escape transformation when |
| 39 | + both `x` and `y` is an 'AsIs' variable (@teunbrand, #6205). |
| 40 | +* The following methods have been deprecated: `fortify.lm()`, `fortify.glht()`, |
| 41 | + `fortify.confint.glht()`, `fortify.summary.glht()` and `fortify.cld()`. It |
| 42 | + is recommend to use `broom::augment()` and `broom::tidy()` instead |
| 43 | + (@teunbrand, #3816). |
4 | 44 | * Custom and raster annotation now respond to scale transformations, and can
|
5 | 45 | use AsIs variables for relative placement (@teunbrand based on
|
6 | 46 | @yutannihilation's prior work, #3120)
|
|
16 | 56 | (@teunbrand, #4320)
|
17 | 57 | * `geom_boxplot()` gains additional arguments to style the colour, linetype and
|
18 | 58 | linewidths of the box, whiskers, median line and staples (@teunbrand, #5126)
|
| 59 | +* `geom_violin()` gains additional arguments to style the colour, linetype and |
| 60 | + linewidths of the quantiles, which replace the now-deprecated `draw_quantiles` |
| 61 | + argument (#5912). |
| 62 | +* (breaking) `geom_violin(quantiles)` now has actual quantiles based on |
| 63 | + the data, rather than inferred quantiles based on the computed density. The |
| 64 | + `quantiles` parameter that replaces `draw_quantiles` now belongs to |
| 65 | + `stat_ydensity()` instead of `geom_violin()` (@teunbrand, #4120). |
19 | 66 | * (internal) Using `after_scale()` in the `Geom*$default_aes()` field is now
|
20 | 67 | evaluated in the context of data (@teunbrand, #6135)
|
21 | 68 | * Fixed bug where binned scales wouldn't simultaneously accept transformations
|
|
205 | 252 | `labs()` and several guides (@teunbrand, #3196).
|
206 | 253 | * `stat_summary_bin()` no longer ignores `width` parameter (@teunbrand, #4647).
|
207 | 254 | * Added `keep.zeroes` argument to `stat_bin()` (@teunbrand, #3449)
|
| 255 | +* (internal) removed barriers for using 2D structures as aesthetics |
| 256 | + (@teunbrand, #4189). |
208 | 257 | * `coord_sf()` no longer errors when dealing with empty graticules (@teunbrand, #6052)
|
| 258 | +* Added `theme_transparent()` with transparent backgrounds (@topepo). |
| 259 | +* New theme elements `palette.{aes}.discrete` and `palette.{aes}.continuous`. |
| 260 | + Theme palettes replace palettes in scales where `palette = NULL`, which is |
| 261 | + the new default in many scales (@teunbrand, #4696). |
| 262 | +* `guide_axis()` no longer reserves space for blank ticks |
| 263 | + (@teunbrand, #4722, #6069). |
| 264 | +* `geom_abline()` clips to the panel range in the vertical direction too |
| 265 | + (@teunbrand, #6086). |
| 266 | +* Added `panel.widths` and `panel.heights` to `theme()` (#5338, @teunbrand). |
| 267 | +* Standardised the calculation of `width`, which are now implemented as |
| 268 | + aesthetics (@teunbrand, #2800). |
| 269 | +* Stricter check on `register_theme_elements(element_tree)` (@teunbrand, #6162) |
| 270 | +* Added `weight` aesthetic for `stat_ellipse()` (@teunbrand, #5272) |
| 271 | +* Fixed a bug where the `guide_custom(order)` wasn't working (@teunbrand, #6195) |
209 | 272 |
|
210 | 273 | # ggplot2 3.5.1
|
211 | 274 |
|
|
0 commit comments