|
5 | 5 | `theme(axis.line, axis.text, axis.ticks, axis.ticks.length, axis.line)`. This
|
6 | 6 | should allow slightly terser and more organised theme declarations
|
7 | 7 | (@teunbrand, #5301).
|
| 8 | +* `scale_{x/y}_discrete(continuous.limits)` is a new argument to control the |
| 9 | + display range of discrete scales (@teunbrand, #4174, #6259). |
| 10 | +* `geom_ribbon()` now appropriately warns about, and removes, missing values |
| 11 | + (@teunbrand, #6243). |
| 12 | +* `guide_*()` can now accept two inside legend theme elements: |
| 13 | + `legend.position.inside` and `legend.justification.inside`, allowing inside |
| 14 | + legends to be placed at different positions. Only inside legends with the same |
| 15 | + position and justification will be merged (@Yunuuuu, #6210). |
| 16 | +* New stat: `stat_manual()` for arbitrary computations (@teunbrand, #3501) |
| 17 | +* Reversal of a dimension, typically 'x' or 'y', is now controlled by the |
| 18 | + `reverse` argument in `coord_cartesian()`, `coord_fixed()`, `coord_radial()` |
| 19 | + and `coord_sf()`. In `coord_radial()`, this replaces the older `direction` |
| 20 | + argument (#4021, @teunbrand). |
| 21 | +* `coord_radial()` displays minor gridlines now (@teunbrand). |
| 22 | +* (internal) `continuous_scale()` and `binned_scale()` sort the `limits` |
| 23 | + argument internally (@teunbrand). |
| 24 | +* Theme margins can have NA-units to inherit from parent elements. The new |
| 25 | + function `margin_part()` has NA-units as default (@teunbrand, #6115) |
| 26 | +* New `margin_auto()` specification for theme margins. |
| 27 | +* New argument `labs(dictionary)` to label based on variable name rather than |
| 28 | + based on aesthetic (@teunbrand, #5178) |
| 29 | +* Fixed bug in out-of-bounds binned breaks (@teunbrand, #6054) |
| 30 | +* Binned guides now accept expressions as labels (@teunbrand, #6005) |
| 31 | +* (internal) `Scale$get_labels()` format expressions as lists. |
| 32 | +* In non-orthogonal coordinate systems (`coord_sf()`, `coord_polar()` and |
| 33 | + `coord_radial()`), using 'AsIs' variables escape transformation when |
| 34 | + both `x` and `y` is an 'AsIs' variable (@teunbrand, #6205). |
| 35 | +* The following methods have been deprecated: `fortify.lm()`, `fortify.glht()`, |
| 36 | + `fortify.confint.glht()`, `fortify.summary.glht()` and `fortify.cld()`. It |
| 37 | + is recommend to use `broom::augment()` and `broom::tidy()` instead |
| 38 | + (@teunbrand, #3816). |
| 39 | +* Custom and raster annotation now respond to scale transformations, and can |
| 40 | + use AsIs variables for relative placement (@teunbrand based on |
| 41 | + @yutannihilation's prior work, #3120) |
| 42 | +* When discrete breaks have names, they'll be used as labels by default |
| 43 | + (@teunbrand, #6147). |
| 44 | +* The helper function `is.waiver()` is now exported to help extensions to work |
| 45 | + with `waiver()` objects (@arcresu, #6173). |
| 46 | +* Date(time) scales now throw appropriate errors when `date_breaks`, |
| 47 | + `date_minor_breaks` or `date_labels` are not strings (@RodDalBen, #5880) |
| 48 | +* `geom_errorbarh()` is deprecated in favour of |
| 49 | + `geom_errorbar(orientation = "y")` (@teunbrand, #5961). |
| 50 | +* `geom_contour()` should be able to recognise a rotated grid of points |
| 51 | + (@teunbrand, #4320) |
8 | 52 | * `geom_boxplot()` gains additional arguments to style the colour, linetype and
|
9 | 53 | linewidths of the box, whiskers, median line and staples (@teunbrand, #5126)
|
10 | 54 | * (internal) Using `after_scale()` in the `Geom*$default_aes()` field is now
|
|
196 | 240 | `labs()` and several guides (@teunbrand, #3196).
|
197 | 241 | * `stat_summary_bin()` no longer ignores `width` parameter (@teunbrand, #4647).
|
198 | 242 | * Added `keep.zeroes` argument to `stat_bin()` (@teunbrand, #3449)
|
| 243 | +* (internal) removed barriers for using 2D structures as aesthetics |
| 244 | + (@teunbrand, #4189). |
| 245 | +* `coord_sf()` no longer errors when dealing with empty graticules (@teunbrand, #6052) |
| 246 | +* Added `theme_transparent()` with transparent backgrounds (@topepo). |
| 247 | +* New theme elements `palette.{aes}.discrete` and `palette.{aes}.continuous`. |
| 248 | + Theme palettes replace palettes in scales where `palette = NULL`, which is |
| 249 | + the new default in many scales (@teunbrand, #4696). |
| 250 | +* `guide_axis()` no longer reserves space for blank ticks |
| 251 | + (@teunbrand, #4722, #6069). |
| 252 | +* `geom_abline()` clips to the panel range in the vertical direction too |
| 253 | + (@teunbrand, #6086). |
| 254 | +* Added `panel.widths` and `panel.heights` to `theme()` (#5338, @teunbrand). |
199 | 255 |
|
200 | 256 | # ggplot2 3.5.1
|
201 | 257 |
|
|
0 commit comments