lets-plot-kotlin v3.1.1 Release Notes

Release Date: 2021-12-13 // 7 months ago
  • โž• Added

    • scaleXTime() and scaleYTime().

    See: example notebook.

    • plotBackground, legendBackground parameters in theme() [#485].
    • axisOntop, axisOntopX, axisOntopY parameters in theme()

    ๐Ÿ›  Fixed

    • It should automatically stringify enums [#97].
    • Coord system limits do not work with x/y scale with transform [#474].
    • Provide 0-23 hour formatting [#469].
    • No tooltip shown when I'm trying to add an empty line [#382].
    • ๐Ÿ›  coord_fixed() should adjust dimensions of "geom" panel accordingly [#478].
    • The tooltip dependence on number of factors works separately by layers [#481].
    • Tooltip on y-axis looks wrong [#393].
    • Is kotlin-reflect really needed for lets-plot? [#471].

Previous changes from v3.1.0

  • โž• Added

    • coordFlip().

    See: example notebook .

    • ๐Ÿ‘ Date-time formatting support:
      • using date-time format pattern in tooltip format();
      • date/time scales apply date-time formatting to the breaks.

    See Out[7, 8, 10] in the example notebook .

    • ๐Ÿ”ง Pre-configured themes:

      • Standard ggplot2 themes: themeGrey(), themeLight(), themeClassic(), themeMinimal();
      • Other themes: themeMinimal2() - the default theme, themeNone().
    • Theme modification: more parameters were added to the theme() function.

    See: example notebook.

    ๐Ÿ”ง > Note: fonts size, family and face still can not be configured.

    • CorrPlot() function now also accepts pre-computed correlation coefficients.

    • Kotlin/JS IR: xxx.klib artifacts are now available.

    See: sample Kotlin/JS IR app

    ๐Ÿ”„ Changed

    • The size of fonts on plot was slightly increased all across the board.
    • 0๏ธโƒฃ The default plot size was increased by 20%, it's now 600x400 px.
    • ๐Ÿ—„ Deprecated API: all Theme.xxxBlank() functions. Please use corresponding parameters in theme().

    ๐Ÿ›  Fixed

    • Ordering facets - the "order" value 0 disables facet ordering [#454].
    • Tooltips for discrete variables: add the dependence of the tooltip on the number of factors. The X-axis tooltip is always shown for discrete data.
    • Unreadable breaks on axis [#430].