|
1 | 1 | # ggplot2 (development version) |
2 | 2 |
|
3 | 3 | * Fixed bug in out-of-bounds binned breaks (@teunbrand, #6054) |
| 4 | +* Binned guides now accept expressions as labels (@teunbrand, #6005) |
| 5 | +* (internal) `Scale$get_labels()` format expressions as lists. |
| 6 | +* In non-orthogonal coordinate systems (`coord_sf()`, `coord_polar()` and |
| 7 | + `coord_radial()`), using 'AsIs' variables escape transformation when |
| 8 | + both `x` and `y` is an 'AsIs' variable (@teunbrand, #6205). |
| 9 | +* The following methods have been deprecated: `fortify.lm()`, `fortify.glht()`, |
| 10 | + `fortify.confint.glht()`, `fortify.summary.glht()` and `fortify.cld()`. It |
| 11 | + is recommend to use `broom::augment()` and `broom::tidy()` instead |
| 12 | + (@teunbrand, #3816). |
| 13 | +* Custom and raster annotation now respond to scale transformations, and can |
| 14 | + use AsIs variables for relative placement (@teunbrand based on |
| 15 | + @yutannihilation's prior work, #3120) |
| 16 | +* When discrete breaks have names, they'll be used as labels by default |
| 17 | + (@teunbrand, #6147). |
| 18 | +* The helper function `is.waiver()` is now exported to help extensions to work |
| 19 | + with `waiver()` objects (@arcresu, #6173). |
| 20 | +* Date(time) scales now throw appropriate errors when `date_breaks`, |
| 21 | + `date_minor_breaks` or `date_labels` are not strings (@RodDalBen, #5880) |
| 22 | +* `geom_errorbarh()` is deprecated in favour of |
| 23 | + `geom_errorbar(orientation = "y")` (@teunbrand, #5961). |
| 24 | +* `geom_contour()` should be able to recognise a rotated grid of points |
| 25 | + (@teunbrand, #4320) |
| 26 | +* `geom_boxplot()` gains additional arguments to style the colour, linetype and |
| 27 | + linewidths of the box, whiskers, median line and staples (@teunbrand, #5126) |
| 28 | +* (internal) Using `after_scale()` in the `Geom*$default_aes()` field is now |
| 29 | + evaluated in the context of data (@teunbrand, #6135) |
| 30 | +* Fixed bug where binned scales wouldn't simultaneously accept transformations |
| 31 | + and function-limits (@teunbrand, #6144). |
| 32 | +* Fixed bug where the `ggplot2::`-prefix did not work with `stage()` |
| 33 | + (@teunbrand, #6104). |
| 34 | +* New `get_labs()` function for retrieving completed plot labels |
| 35 | + (@teunbrand, #6008). |
| 36 | +* Built-in `theme_*()` functions now have `ink` and `paper` arguments to control |
| 37 | + foreground and background colours respectively (@teunbrand) |
| 38 | +* The `summary()` method for ggplots is now more terse about facets |
| 39 | + (@teunbrand, #5989). |
| 40 | +* `guide_bins()`, `guide_colourbar()` and `guide_coloursteps()` gain an `angle` |
| 41 | + argument to overrule theme settings, similar to `guide_axis(angle)` |
| 42 | + (@teunbrand, #4594). |
| 43 | +* `coord_*(expand)` can now take a logical vector to control expansion at any |
| 44 | + side of the panel (top, right, bottom, left) (@teunbrand, #6020) |
| 45 | +* (Breaking) The defaults for all geoms can be set at one in the theme. |
| 46 | + (@teunbrand based on pioneering work by @dpseidel, #2239) |
| 47 | + * A new `theme(geom)` argument is used to track these defaults. |
| 48 | + * The `element_geom()` function can be used to populate that argument. |
| 49 | + * The `from_theme()` function allows access to the theme default fields from |
| 50 | + inside the `aes()` function. |
4 | 51 | * Passing empty unmapped aesthetics to layers raises a warning instead of |
5 | 52 | throwing an error (@teunbrand, #6009). |
6 | 53 | * Moved {mgcv} from Imports to Suggests (@teunbrand, #5986) |
|
17 | 64 | class through new `Coord$draw_panel()` method. |
18 | 65 | * `theme(strip.clip)` now defaults to `"on"` and is independent of Coord |
19 | 66 | clipping (@teunbrand, 5952). |
20 | | -* (internal) rearranged the code of `Facet$draw_paensl()` method (@teunbrand). |
| 67 | +* (internal) rearranged the code of `Facet$draw_panels()` method (@teunbrand). |
21 | 68 | * Axis labels are now justified across facet panels (@teunbrand, #5820) |
22 | 69 | * Fixed bug in `stat_function()` so x-axis title now produced automatically |
23 | 70 | when no data added. (@phispu, #5647). |
|
163 | 210 | * `theme_classic()` now has black ticks and text instead of dark gray. In |
164 | 211 | addition, `theme_classic()`'s axis line end is `"square"` (@teunbrand, #5978). |
165 | 212 | * {tibble} is now suggested instead of imported (@teunbrand, #5986) |
| 213 | +* The ellipsis argument is now checked in `fortify()`, `get_alt_text()`, |
| 214 | + `labs()` and several guides (@teunbrand, #3196). |
| 215 | +* `stat_summary_bin()` no longer ignores `width` parameter (@teunbrand, #4647). |
| 216 | +* Added `keep.zeroes` argument to `stat_bin()` (@teunbrand, #3449) |
| 217 | +* `coord_sf()` no longer errors when dealing with empty graticules (@teunbrand, #6052) |
| 218 | +* Added `theme_transparent()` with transparent backgrounds (@topepo). |
| 219 | +* New theme elements `palette.{aes}.discrete` and `palette.{aes}.continuous`. |
| 220 | + Theme palettes replace palettes in scales where `palette = NULL`, which is |
| 221 | + the new default in many scales (@teunbrand, #4696). |
166 | 222 |
|
167 | 223 | # ggplot2 3.5.1 |
168 | 224 |
|
@@ -209,6 +265,7 @@ documentation updates. |
209 | 265 | * `annotate()` now warns about `stat` or `position` arguments (@teunbrand, #5151) |
210 | 266 | * `guide_coloursteps(even.steps = FALSE)` now works with discrete data that has |
211 | 267 | been formatted by `cut()` (@teunbrand, #3877). |
| 268 | +* `ggsave()` now offers to install svglite if needed (@eliocamp, #6166). |
212 | 269 |
|
213 | 270 | # ggplot2 3.5.0 |
214 | 271 |
|
|
0 commit comments