|
1 |
| -# ggplot2 (development version) |
| 1 | +# ggplot2 3.4.1 |
| 2 | +This is a small release focusing on fixing regressions in the 3.4.0 release |
| 3 | +and minor polishes. |
2 | 4 |
|
| 5 | +## Breaking changes |
| 6 | + |
| 7 | +* The computed variable `y` in `stat_ecdf()` has been superseded by `ecdf` to |
| 8 | + prevent incorrect scale transformations (@teunbrand, #5113 and #5112). |
| 9 | + |
| 10 | +## New features |
| 11 | + |
| 12 | +* Added `scale_linewidth_manual()` and `scale_linewidth_identity()` to support |
| 13 | + the `linewidth` aesthetic (@teunbrand, #5050). |
| 14 | + |
| 15 | +* `ggsave()` warns when multiple `filename`s are given, and only writes to the |
| 16 | + first file (@teunbrand, #5114). |
| 17 | + |
| 18 | +## Bug fixes |
| 19 | + |
| 20 | +* Fixed a regression in `geom_hex()` where aesthetics were replicated across |
| 21 | + bins (@thomasp85, #5037 and #5044). |
| 22 | + |
3 | 23 | * Using two ordered factors as facetting variables in
|
4 | 24 | `facet_grid(..., as.table = FALSE)` now throws a warning instead of an
|
5 | 25 | error (@teunbrand, #5109).
|
6 |
| -* Added `scale_linewidth_manual()` and `scale_linewidth_identity()` to support |
7 |
| - the `linewidth` aesthetic (@teunbrand, #5050). |
8 |
| -* Automatic breaks in `scale_*_binned()` should no longer be out-of-bounds, |
9 |
| - and automatic limits expand to include these (@teunbrand, #5095, #5100). |
10 |
| -* Renamed computed aesthetic in `stat_ecdf()` to `ecdf`, to prevent incorrect |
11 |
| - scale transformations (@teunbrand, #5113 and #5112). |
| 26 | + |
12 | 27 | * Fixed misbehaviour of `draw_key_boxplot()` and `draw_key_crossbar()` with
|
13 | 28 | skewed key aspect ratio (@teunbrand, #5082).
|
14 |
| -* `scale_*_binned()` handles zero-range limits more gracefully (@teunbrand, |
15 |
| - #5066) |
16 |
| -* Binned scales are now compatible with `trans = "date"` and `trans = "time"` |
17 |
| - (@teunbrand, #4217). |
18 |
| -* `ggsave()` warns when multiple `filename`s are given, and only writes to the |
19 |
| - first file (@teunbrand, #5114) |
20 |
| -* Fixed a regression in `geom_hex()` where aesthetics were replicated across |
21 |
| - bins (@thomasp85, #5037 and #5044) |
| 29 | + |
22 | 30 | * Fixed spurious warning when `weight` aesthetic was used in `stat_smooth()`
|
23 | 31 | (@teunbrand based on @clauswilke's suggestion, #5053).
|
24 |
| -* The `lwd` alias now correctly replaced by `linewidth` instead of `size` |
| 32 | + |
| 33 | +* The `lwd` alias is now correctly replaced by `linewidth` instead of `size` |
25 | 34 | (@teunbrand based on @clauswilke's suggestion #5051).
|
| 35 | + |
26 | 36 | * Fixed a regression in `Coord$train_panel_guides()` where names of guides were
|
27 |
| - dropped (@maxsutton, #5063) |
| 37 | + dropped (@maxsutton, #5063). |
| 38 | + |
| 39 | +In binned scales: |
| 40 | + |
| 41 | +* Automatic breaks should no longer be out-of-bounds, and automatic limits are |
| 42 | + adjusted to include breaks (@teunbrand, #5082). |
| 43 | + |
| 44 | +* Zero-range limits no longer throw an error and are treated akin to continuous |
| 45 | + scales with zero-range limits (@teunbrand, #5066). |
| 46 | + |
| 47 | +* The `trans = "date"` and `trans = "time"` transformations were made compatible |
| 48 | + (@teunbrand, #4217). |
28 | 49 |
|
29 | 50 | # ggplot2 3.4.0
|
30 | 51 | This is a minor release focusing on tightening up the internals and ironing out
|
|
0 commit comments