All Versions
Latest Version
Avg Release Cycle
23 days
Latest Release
195 days ago

Changelog History
Page 1

  • v3.1.1 Changes

    December 13, 2021

    โž• 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].
  • v3.1.0 Changes

    November 05, 2021

    โž• 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].
  • v3.0.2 Changes

    June 09, 2021

    โž• Added

    • Ordering categories:

    New parameters added to the asDiscrete() function:

    • orderBy - name of the variable by which the ordering will be performed;
    • order - ordering direction: 1 for ascending direction and -1 for descending (default).

    See: as_discrete.

    ๐Ÿ”„ Changed

    • โฌ†๏ธ Upgraded dependencies:
  • v3.0.1 Changes

    June 09, 2021

    โž• Added

    • The 'format' parameter in all scales [76].

    ๐Ÿ”„ Changed

    • โฌ†๏ธ Upgraded kotlinx.html version to 0.7.3 (was 0.7.2)

    In JVM projects it's no longer necessary to add repository ๐Ÿ”ง > to the project configuration.

    ๐Ÿ›  Fixed

    • Multilayer plots are corrupted [#385].
    • Import "lets-plot-common" transitively [#78]
  • v3.0.0 Changes

    June 04, 2021

    โž• Added

    • In tooltip customization API:

      • layerTooltips(variables) - the new parameter variables defines a list of variable names, which values will be placed in the general multiline tooltip. See: Tooltip Customization.
    • lets-plot-mini-apps GitHub repository containing examples of using the Lets-Plot Kotlin API in JVM and Kotlin/JS projects.

    ๐Ÿ”„ Changed

    • [BREAKING CHANGE]: The CDN for delivering the Lets-Plot JavaScript library is now JSDELIVR (was CDNJS).

    New URLs:

    To use Lets-Plot Kotlin API in your project, include dependencies:

    • JVM: implementation "org.jetbrains.lets-plot:lets-plot-kotlin-jvm:3.0.0"
    • JS: implementation "org.jetbrains.lets-plot:lets-plot-kotlin-js:3.0.0"

    See for more details.

    • [BREAKING CHANGE] The JVM artifact lets-plot-kotlin-api is no longer deployed: replaced with the equivalent lets-plot-kotlin-jvm.

    • The artifact lets-plot-kotlin-api-kernel renamed to lets-plot-kotlin-kernel (this change only concerns Kotlin Jupyter Kernel)

    ๐Ÿ›  Fixed

    • Poor font rendering in Swing/Batik. Related to: [#364]
    • Exclude slf4j implementation from lets-plot-common [#374]
    • geom_boxplot: should be possible to create boxplot without specifying x-series [#325]
    • geom_hline: graph plotted outside of coordinate plane visible part [#334]
    • Draw geometry only once if layer has no aes mapping specified [#73]
    • ๐Ÿ— Can't build plot: "Uncaught SyntaxError: Unexpected string" in a console [#371]
  • v2.0.1 Changes

    April 19, 2021

    ๐Ÿ”„ Changed

    • [BREAKING CHANGE]: The groupId of all maven artifacts is now "org.jetbrains.lets-plot" (was " org.jetbrains.lets-plot-kotlin")
    • Built with Lets-Plot v2.0.2 (was v2.0.2).
    • All snake_case symbols were deprecated and replaced with equivalent camelCase symbols [#53].
    • Maven artifacts published to Maven Central (due to shutting down of Bintray, JCenter)
  • v1.3.0 Changes

    March 22, 2021

    โž• Added

    • facet_wrap() function.
    • in facet_grid() function:
      • Ascending/descending ordering of faceting values.
      • Formatting of faceting values.

    See: Facets demo

    • ๐Ÿ‘ The format parameter in positional scales: formatting tick labels on X/Y axis. Supported types are number and date/time.


       scale_x_datetime(format="%b %Y")
       scale_x_continuous(format="is {.2f}")

    Demo: Formatting demo

    See also: Formatting

    • The guides() function [#52].

    • In tooltip customization API:

      • option color overrides the default tooltip color: geom_xxx(tooltips=layer_tooltips().color("red"))

    See: Tooltip Customization.

    ๐Ÿ”„ Changed

    • Built with Lets-Plot v2.0.1 (was v1.5.6).
    • โšก๏ธ All Java Swing demos were updated to use new plot components (new in Lets-Plot v2.0.1).
    • โšก๏ธ The "Minimal demo" was updated:

    ๐Ÿ›  Fixed

    • show() should actually show a plot [#51]
    • Facet grid truncated in jupyter [#28].

    ๐Ÿš€ The majority of fixes in the core Lets-Plot vv 2.0.0, 2.0.1 are also applicable to this release.

    ๐Ÿ‘€ See the Lets-Plot

  • v1.2.0 Changes

    January 15, 2021

    โž• Added

    • ๐Ÿ— Correlation plot builder.

    Example: correlation_plot.ipynb

    • The gggrid() plot layout utility

    Example: correlation_plot.ipynb

    • In tooltip customization API:
      • options: center and middle (anchor).
      • option 'minWidth'.

    Example: tooltip_config.ipynb

    • The naText parameter in geom_text()

    ๐Ÿ”„ Changed

    • Built with Lets-Plot v1.5.6 (was v1.5.4).

    See Lets-Plot for changes and fixes in 1.5.5, 1.5.6.

  • v1.1.0 Changes

    November 20, 2020

    [1.1.0] - 2020-11-20

    โž• Added

    • ๐Ÿ‘€ GeoTools support (see
    • ๐Ÿ‘€ API for tooltip customization (see
    • geom_map().
    • labelFormat parameter in geom_text().
    • reverse parameter in scale_x/y_discrete().
    • scale_x_discrete_reversed(), scale_y_discrete_reversed()

    ๐Ÿ”„ Changed

    Built with Lets-Plot v1.5.4 (was v1.5.2).

    ๐Ÿ‘€ See Lets-Plot for changes and fixes in 1.5.3, 1.5.4.

    ๐Ÿ›  Fixed

    • ggsave() ignores raster format file extension.
    • as_discrete(): if more than one is used in the same mapping block, then all but one of them are ignored.
  • v1.1.0.demos1

    November 23, 2020