lets-plot-kotlin v3.0.2 Release Notes

Release Date: 2021-06-09 // 5 months ago
  • ➕ 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:

Previous changes from v3.0.0

  • ➕ 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 README_DEV.md 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]