v4.10.0
[4.10.0] - 2025-03-20
This release is 100% compatible with Lets-Plot v 4.6.1,
GeoTools v 32.1
Added
-
Grouping plots:
-
ggbunch()function: combining plots with custom layout.See demos:
-
Support for plot title, subtitle, caption, margins and insets in
gggrid()andggbunch().
-
-
Geometries:
-
geomHex()[#556].See example notebook.
-
Parameters
widthUnitingeomErrorBar(),geomBoxplot(),geomCrossbar()[#1288].widthUnitandheightUnitingeomTile()andgeomHex().
See example notebook.
-
Parameters
startanddirectioningeomPie()[#1280].See example notebook.
-
-
Texts and labels:
-
hjustandvjustparameters 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
nudgeposition adjustment -
the ability to specify absolute shift values fornudge:unitparameter inpositionNudge().nudgeUnitparameter ingeomText()andgeomLabel()
See example notebook.
-
Theme:
-
Parameters
legendTicksandlegendTicksLengthfor fine-grained control over colorbar tick marks [#1262].See: example notebook.
-
-
Aliases for transparent color:
""(blank string),"blank"and"transparent"color [#1281].
Changed
- [DEPRECATED] class
GGBunchis deprecated. Please useggbunch()function instead. - [BREAKING] The
heightparameter has been deprecated for thegeomErrorBar. - Axis breaks: the minimum distance between axis labels was reduced to avoid unsuitable layouts.
- Axis breaks: changed default
lower_exp_boundto -7 andupper_exp_boundto 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
geomBin2d()are sized according to thebinwidthvalue, not the maximum possible. - [BREAKING] In Lets-Plot JS API v 4.6.0 (only Lets-Plot/JS users): signature of "buildPlotFromXXX" functions changed, see current Kotlin/JS declarations:
- [BREAKING] In Lets-Plot v 4.6.0, Maven artifacts:
- artifacts
platf-awt,platf-batik,platf-jfx-swingare 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
scaleContinuous: can't use theexpandparameter [#1285]. - Error when using
stat='summary'if the data contains NaN values [#1301]. - Broken
plotBackgroundingggrid[#1124]. plotBackgroundnot 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
geomTile[#1284].