lets-plot-kotlin

Grammar of Graphics for Kotlin

MIT License

Stars
412
Committers
14

Bot releases are visible (Hide)

lets-plot-kotlin - v3.0.1

Published by alshan over 3 years ago

[3.0.1] - 2021-06-09

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 https://maven.pkg.jetbrains.space/public/p/kotlinx-html/maven repository
to the project configuration.

Fixed

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

Published by alshan over 3 years ago

[3.0.0] - 2021-06-04

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

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]
lets-plot-kotlin - v2.0.1

Published by alshan over 3 years ago

[2.0.1] - 2021-04-19

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)
lets-plot-kotlin - v1.3.0

Published by alshan over 3 years ago

[1.3.0] - 2021-03-22

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.

    Example:

    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 CHANGELOG.md.

lets-plot-kotlin - v1.2.0

Published by alshan almost 4 years ago

[1.2.0] - 2021-01-15

Added

Changed

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

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

lets-plot-kotlin - v1.1.0

Published by alshan almost 4 years ago

[1.1.0] - 2020-11-20

Added

  • GeoTools support (see geotools.md).
  • API for tooltip customization (see tooltips.md).
  • 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 CHANGELOG.md 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.
lets-plot-kotlin - v1.0.0

Published by alshan about 4 years ago

[1.0.0] - 2020-08-13

Added

  • The first public release.

Changed

  • Maven artifact group id has changed.
    • was before: org.jetbrains.lets-plot
    • since now : org.jetbrains.lets-plot-kotlin
lets-plot-kotlin - v0.0.23-SNAPSHOT

Published by alshan over 4 years ago

[0.0.23-SNAPSHOT] - 2020-07-06

Added

  • Parameter expand in positional scales.
  • Demo notebooks (GGBunch, Legends & Axis)

Changed

  • Lets-Plot core version upgraded to 1.4.4-SNAPSHOT - now without dependencies on Kotlin-test, junit.

Fixed

  • Loading Kotlin-numpy when opening demo notebooks at mybinder.org.
lets-plot-kotlin - v0.0.22-SNAPSHOT

Published by alshan over 4 years ago

[0.0.22-SNAPSHOT] - 2020-07-01

Added

  • scale_shape()
  • as_discrete()

Changed

  • scale_color_grey(), scale_fill_grey() : arguments start, end are now in range [0,1] (before was [0,100]).
  • Parameter mapping (lambda) has been moved to the last position to allow the value to be outside parentheses.
lets-plot-kotlin - v0.0.20-SNAPSHOT

Published by alshan over 4 years ago

[0.0.20-SNAPSHOT] - 2020-06-25

Added

  • facet_grid()
  • coord_fixed()
  • labs(), xlab(), ylab()
  • lims(), xlim(), ylim()
  • Geoms:
    • geom_jitter()
    • geom_bin2d(), stat_bin2d()
    • geom_contour(), stat_contour()
    • geom_contourf()
    • geom_density2d(), stat_density2d()
    • geom_density2df()
    • geom_smooth(), stat_smooth()
    • stat_bin()
  • Manual scales:
    • scale_fill_manual(), scale_color_manual()
    • scale_size_manual()
    • scale_shape_manual()
    • scale_linetype_manual()
    • scale_alpha_manual()
  • Identity scales:
    • scale_color_identity(), scale_fill_identity()
    • scale_shape_identity()
    • scale_linetype_identity()
    • scale_alpha_identity()
    • scale_size_identity()
  • Positional scales:
    • scale_x_continuous(), scale_y_continuous()
    • scale_x_discrete(), scale_y_discrete()
  • Brewer color scales:
    • scale_color_brewer(), scale_fill_brewer()

Changed

  • theme() is now a fluent interface.

Fixed:

  • theme composition wasn't working.