Skip to content

v4.6.0

Latest
Compare
Choose a tag to compare
@VDovidaytis-HORIS VDovidaytis-HORIS released this 03 Mar 17:20
· 5 commits to master since this release

[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() and ggbunch().

  • Geometries:

  • Texts and labels:

  • In the nudge position adjustment -
    the ability to specify absolute shift values for nudge:

    • unit parameter in position_nudge().

    • nudge_unit parameter in geom_text() and geom_label()

      See example notebook.

  • Theme:

    • Parameters legend_ticks and legend_ticks_length for fine-grained control over colorbar tick marks [#1262].

      See: example notebook.

  • Parameter spacer in image_matrix() function.

  • transparent/blank/'' color [#1281].

Changed

  • [DEPRECATED] class GGBunch is deprecated. Please use ggbunch() function instead.
  • Axis breaks: changed default lower_exp_bound to -7 and upper_exp_bound to 6 (same as in theme(...)).
  • 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 the binwidth 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.

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 the expand parameter [#1285].
  • Error when using stat='summary' if the data contains NaN values [#1301].
  • Broken plot_background in gggrid [#1124].
  • plot_background not inheriting from rect [#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 or geom_label [#1048].
  • Livemap: Add zooming-in for geom_text()/geom_label() [#1059].