[4.6.0] - 2025-03-03
Added
-
Grouping plots:
-
ggbunch()
function: combining plots with custom layout.See example notebook.
-
Support for plot title, subtitle, caption, margins and insets in
gggrid()
andggbunch()
.
-
-
Geometries:
-
geom_hex()
[#556].See: example notebook.
-
Parameters
width_unit
andheight_unit
ingeom_errorbar()
,geom_boxplot()
,geom_crossbar()
,geom_tile()
andgeom_hex()
[#1288]:See example notebook.
-
Parameters
start
anddirection
ingeom_pie()
[#1280].See example notebook.
-
-
Texts and labels:
-
hjust
andvjust
parameters for axis labels [#1227],[#1230].See: example notebook.
-
multiline support for axis labels [#948].
See: example notebook.
-
Markdown support for plot title, subtitle, caption, and axis labels [#1256].
See example notebook.
-
-
In the
nudge
position adjustment -
the ability to specify absolute shift values fornudge
:-
unit
parameter inposition_nudge()
. -
nudge_unit
parameter ingeom_text()
andgeom_label()
See example notebook.
-
-
Theme:
-
Parameters
legend_ticks
andlegend_ticks_length
for fine-grained control over colorbar tick marks [#1262].See: example notebook.
-
-
Parameter
spacer
inimage_matrix()
function. -
transparent
/blank
/''
color [#1281].
Changed
- [DEPRECATED] class
GGBunch
is deprecated. Please useggbunch()
function instead. - Axis breaks: changed default
lower_exp_bound
to -7 andupper_exp_bound
to 6 (same as intheme(...)
). - Axis labels: changed default justification for rotated labels.
- Axis labels: changed orientation of automatic vertical labels.
- [BREAKING] geoms
tile, bin2d, contour, contourf, density2d, density2df
: default coordinate system changed from 'fixed' to 'cartesian'. - [BREAKING] tiles in
geom_bin2d()
are sized according to thebinwidth
value, not the maximum possible. - [BREAKING] only Lets-Plot/JS users: signature of "buildPlotFromXXX" functions changed, see current Kotlin/JS declarations:
- [BREAKING] Maven artifacts (doesn't affect Python users):
- artifacts
platf-awt
,platf-batik
,platf-jfx-swing
are no longer published with a "-jvm" suffix.
Before, these artifacts could be used in dependencies either with or without the "-jvm" suffix. Now only without suffix. - artifact "org.jetbrains.lets-plot:deprecated-in-v4-jvm" is removed.
- artifacts
Fixed
- Incorrectly rendered Area chart [#1295].
- Tooltip should not cover and hide the geometry that it provides info for [#1275].
- General purpose
scale_continuous
: can't use theexpand
parameter [#1285]. - Error when using
stat='summary'
if the data contains NaN values [#1301]. - Broken
plot_background
ingggrid
[#1124]. plot_background
not inheriting fromrect
[#1278]gggrid
: allow title and other labels for the entire figure [#715].ggbunch
: overall title [#321].- Expand discrete axis according to tile size with
geom_tile
[#1284]. geom_bin2d
implodes when the disparity in axes units is large [#1303].- Livemap: parameters nudge_x and nudge_y have no effect on
geom_text
orgeom_label
[#1048]. - Livemap: Add zooming-in for
geom_text()/geom_label()
[#1059].