All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning. All scales should have the 'format' parameter.
-
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.
- Upgraded dependencies:
- Kotlin: 1.5.21
- Lets-Plot: 2.1.0 (see Lets-Plot CHANGELOG)
- Apache Batik: 1.14 [#398]
- The 'format' parameter in all scales [76].
- 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.
-
In tooltip customization API:
layerTooltips(variables)
- the new parametervariables
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.
-
[BREAKING CHANGE]: The CDN for delivering the Lets-Plot JavaScript library is now JSDELIVR (was CDNJS).
New URLs:
-
The project has been converted to a "multiplatform" project targeting JVM and JS platforms.
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.
- JVM:
-
[BREAKING CHANGE] The JVM artifact
lets-plot-kotlin-api
is no longer deployed: replaced with the equivalentlets-plot-kotlin-jvm
. -
The artifact
lets-plot-kotlin-api-kernel
renamed tolets-plot-kotlin-kernel
(this change only concerns Kotlin Jupyter Kernel)
- 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]
- [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)
-
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 arenumber
anddate/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.
- option
- 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:
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.
-
Correlation plot builder.
Example: correlation_plot.ipynb
-
The
gggrid()
plot layout utilityExample: correlation_plot.ipynb
-
In tooltip customization API:
- options:
center
andmiddle
(anchor). - option 'minWidth'.
Example: tooltip_config.ipynb
- options:
-
The
naText
parameter ingeom_text()
-
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.
- GeoTools support (see geotools.md).
- API for tooltip customization ( see tooltips.md).
geom_map()
.labelFormat
parameter ingeom_text()
.reverse
parameter inscale_x/y_discrete()
.scale_x_discrete_reversed()
,scale_y_discrete_reversed()
-
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.
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.
- The first public release.
- Maven artifact group id has changed.
- was before:
org.jetbrains.lets-plot
- since now :
org.jetbrains.lets-plot-kotlin
- was before: