ggplot2 3.4.1
This is a small release focusing on fixing regressions in the 3.4.0 release
and minor polishes.
Breaking changes
- The computed variable
y
instat_ecdf()
has been superseded byecdf
to
prevent incorrect scale transformations (@teunbrand, #5113 and #5112).
New features
-
Added
scale_linewidth_manual()
andscale_linewidth_identity()
to support
thelinewidth
aesthetic (@teunbrand, #5050). -
ggsave()
warns when multiplefilename
s are given, and only writes to the
first file (@teunbrand, #5114).
Bug fixes
-
Fixed a regression in
geom_hex()
where aesthetics were replicated across
bins (@thomasp85, #5037 and #5044). -
Using two ordered factors as facetting variables in
facet_grid(..., as.table = FALSE)
now throws a warning instead of an
error (@teunbrand, #5109). -
Fixed misbehaviour of
draw_key_boxplot()
anddraw_key_crossbar()
with
skewed key aspect ratio (@teunbrand, #5082). -
Fixed spurious warning when
weight
aesthetic was used instat_smooth()
(@teunbrand based on @clauswilke's suggestion, #5053). -
The
lwd
alias is now correctly replaced bylinewidth
instead ofsize
(@teunbrand based on @clauswilke's suggestion #5051). -
Fixed a regression in
Coord$train_panel_guides()
where names of guides were
dropped (@maxsutton, #5063).
In binned scales:
-
Automatic breaks should no longer be out-of-bounds, and automatic limits are
adjusted to include breaks (@teunbrand, #5082). -
Zero-range limits no longer throw an error and are treated akin to continuous
scales with zero-range limits (@teunbrand, #5066). -
The
trans = "date"
andtrans = "time"
transformations were made compatible
(@teunbrand, #4217).