Skip to content

Commit 3f81b6d

Browse files
committed
Upload 4.4.0 to Sonatype, update docs.
1 parent fdc2bbd commit 3f81b6d

File tree

8 files changed

+99
-75
lines changed

8 files changed

+99
-75
lines changed

CHANGELOG.md

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,72 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). All scales should have the 'format' parameter.
77

88

9+
## [4.4.0] - 2023-05-10
10+
11+
### Added
12+
13+
- `geomLollipop()`.
14+
15+
See: [example notebook](https://nbviewer.jupyter.org/github/JetBrains/lets-plot-kotlin/blob/master/docs/examples/jupyter-notebooks/f-4.4.0/geom_lollipop.ipynb).
16+
17+
18+
- Aesthetic `stroke` and its scales `scaleStroke()`, `scaleStrokeIdentity()`.
19+
20+
See: [example notebook](https://nbviewer.jupyter.org/github/JetBrains/lets-plot-kotlin/blob/master/docs/examples/jupyter-notebooks/f-4.4.0/aes_stroke.ipynb).
21+
22+
23+
- Aesthetic `linewidth` (for `geomLollipop()`) and its scales `scaleLinewidth()`, `scaleLinewidthIdentity()`.
24+
25+
See: [example notebook](https://nbviewer.jupyter.org/github/JetBrains/lets-plot-kotlin/blob/master/docs/examples/jupyter-notebooks/f-4.4.0/geom_lollipop.ipynb).
26+
27+
28+
- The 'newline' character (`\n`) now works as `line break` in legend text.
29+
30+
See: [example notebook](https://nbviewer.jupyter.org/github/JetBrains/lets-plot-kotlin/blob/master/docs/examples/jupyter-notebooks/f-4.4.0/legend_text_multiline.ipynb).
31+
32+
33+
- Horizontal error bars and vertical "dodge".
34+
35+
See: [example notebook](https://nbviewer.jupyter.org/github/JetBrains/lets-plot-kotlin/blob/master/docs/examples/jupyter-notebooks/f-4.4.0/horizontal_error_bars.ipynb).
36+
37+
38+
- "Colorbar" in `geom_imshow()`. Parameters `show_legend` and `color_by` [[#717](https://github.com/JetBrains/lets-plot/issues/717)].
39+
40+
41+
### Changed
42+
43+
- [BREAKING] `geomDotplot()` and `geomYDotplot()` no longer support parameter `stat`.
44+
45+
- [BREAKING] Identity scales don't create a legend by default.
46+
47+
48+
### Fixed
49+
50+
- Support multiple subdirectories in `ggsave` path [[contribution by David Phillips]](https://github.com/JetBrains/lets-plot-kotlin/pull/163).
51+
- `scaleXDiscrete` doesn't make scale discrete [[#165](https://github.com/JetBrains/lets-plot-kotlin/issues/165)].
52+
- Batik: `geom_imshow()` fail with an error: "The attribute "xlink:href" of the element <image> is required"
53+
- Batik: bug with usage of "&" [[#713](https://github.com/JetBrains/lets-plot/issues/713)].
54+
- Categorical ordering, it's not respected for Boxplot and violin
55+
plot [[#746](https://github.com/JetBrains/lets-plot/issues/746)].
56+
- Groups not sorted similarly when using facets [[#679](https://github.com/JetBrains/lets-plot/issues/679)].
57+
- HTML export: exclude computation messages from the output [[#725](https://github.com/JetBrains/lets-plot/issues/725)].
58+
- Image export not working with `geom_imshow()`
59+
and `geom_raster()` [[LPK-175](https://github.com/JetBrains/lets-plot-kotlin/issues/175)].
60+
- `geom_segment()` doesn't take into account the alpha [[#748](https://github.com/JetBrains/lets-plot/issues/748)].
61+
- `geom_density2d`: Internal error with None values in data [[#702](https://github.com/JetBrains/lets-plot/issues/702)].
62+
- DateTime metadata is not applied for scales other than
63+
X/Y [[LPK-174](https://github.com/JetBrains/lets-plot-kotlin/issues/174)].
64+
- Quantile should be shown in tooltip if the variable `..quantile..` is mapped to geom aesthetic.
65+
- Bad default formatting for stat variables [[#654](https://github.com/JetBrains/lets-plot/issues/654)].
66+
- The scale name does not apply with `as_discrete()` [[#653](https://github.com/JetBrains/lets-plot/issues/653)].
67+
- Tooltip is not shown when configured for 'const' value [[#610](https://github.com/JetBrains/lets-plot/issues/610)].
68+
- Fix crash when try to add a constant to a tooltip (e.g.`"^size"`, where `size` aesthetic is specified with a number).
69+
- "Variable not found" error in `ggmarginal` [[#681](https://github.com/JetBrains/lets-plot/issues/681)].
70+
- `facet_grid`: Internal error [[#699](https://github.com/JetBrains/lets-plot/issues/699)].
71+
- Tooltips bug [[LPK-176](https://github.com/JetBrains/lets-plot-kotlin/issues/176)].
72+
73+
74+
975
## [4.3.0] - 2023-03-09
1076

1177
### Added

LPK_APP.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -78,17 +78,17 @@ repositories {
7878

7979
```groovy
8080
dependencies {
81-
implementation "org.jetbrains.lets-plot:lets-plot-batik:3.1.0"
82-
implementation "org.jetbrains.lets-plot:lets-plot-kotlin-jvm:4.3.0"
81+
implementation "org.jetbrains.lets-plot:lets-plot-batik:3.2.0"
82+
implementation "org.jetbrains.lets-plot:lets-plot-kotlin-jvm:4.4.0"
8383
}
8484
```
8585

8686
#### JVM/Swing/JavaFX application
8787

8888
```groovy
8989
dependencies {
90-
implementation "org.jetbrains.lets-plot:lets-plot-jfx:3.1.0"
91-
implementation "org.jetbrains.lets-plot:lets-plot-kotlin-jvm:4.3.0"
90+
implementation "org.jetbrains.lets-plot:lets-plot-jfx:3.2.0"
91+
implementation "org.jetbrains.lets-plot:lets-plot-kotlin-jvm:4.4.0"
9292
}
9393
```
9494

@@ -100,16 +100,16 @@ If your JVM app doesn't use either frontend, you can provide just "lets-plot-com
100100

101101
```groovy
102102
dependencies {
103-
implementation "org.jetbrains.lets-plot:lets-plot-common:3.1.0"
104-
implementation "org.jetbrains.lets-plot:lets-plot-kotlin-jvm:4.3.0"
103+
implementation "org.jetbrains.lets-plot:lets-plot-common:3.2.0"
104+
implementation "org.jetbrains.lets-plot:lets-plot-kotlin-jvm:4.4.0"
105105
}
106106
```
107107

108108
#### Kotlin/JS application:
109109

110110
```groovy
111111
dependencies {
112-
implementation "org.jetbrains.lets-plot:lets-plot-kotlin-js:4.3.0"
112+
implementation "org.jetbrains.lets-plot:lets-plot-kotlin-js:4.4.0"
113113
}
114114
```
115115

@@ -180,7 +180,7 @@ val rawSpec = figure.toSpec()
180180
```kotlin
181181
val html: String = PlotHtmlExport.buildHtmlFromRawSpecs(
182182
plotSpec = rawSpec,
183-
scriptUrl = PlotHtmlHelper.scriptUrl(version="3.1.0"),
183+
scriptUrl = PlotHtmlHelper.scriptUrl(version="3.2.0"),
184184
iFrame = true
185185
)
186186
```

README.md

Lines changed: 18 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ See the "Quickstart" notebook in [Datalore](https://datalore.jetbrains.com/view/
8585
- [Lets-Plot in JVM and Kotlin/JS Application](#in-jvm-js)
8686
- [Documentation](#documentation)
8787

88-
- [What is new in 4.3.0](#new)
88+
- [What is new in 4.4.0](#new)
8989
- [Migrating from v3 to v4](#migrating4)
9090
- [Change Log](#change_log)
9191
- [Code of Conduct](#CoC)
@@ -144,54 +144,41 @@ using Lets-Plot Kotlin API in JVM and Kotlin/JS projects.
144144

145145

146146
<a id="new"></a>
147-
## What is new in 4.3.0
147+
## What is new in 4.4.0
148148

149-
- ### `gggrid()` ([docs](https://lets-plot.org/kotlin/-lets--plot--kotlin/org.jetbrains.letsPlot/gggrid.html)), as a replacement for earlier variant of [gggrid()](https://github.com/JetBrains/lets-plot-kotlin/blob/master/plot-api/src/commonMain/kotlin/org/jetbrains/letsPlot/gggrid_deprecated.kt).
149+
### Aesthetics `stroke` and `linewidth`
150150
<br>
151-
<img src="https://raw.githubusercontent.com/JetBrains/lets-plot/master/docs/f-23a/images/plot_grid.png" alt="f-23a/images/plot_grid.png" width="400" height="200">
151+
<img src="https://raw.githubusercontent.com/JetBrains/lets-plot/master/docs/f-23b/images/stroke.png" alt="f-23b/images/stroke.png" width="336" height="150">
152152

153-
See: [example notebook](https://nbviewer.jupyter.org/github/JetBrains/lets-plot-kotlin/blob/master/docs/examples/jupyter-notebooks/f-4.3.0/plot_grid.ipynb).
153+
See: [example notebook](https://nbviewer.jupyter.org/github/JetBrains/lets-plot-kotlin/blob/master/docs/examples/jupyter-notebooks/f-4.4.0/aes_stroke.ipynb).
154154

155-
156-
- ### `jointPlot()`
157-
<br>
158-
<img src="https://raw.githubusercontent.com/JetBrains/lets-plot/master/docs/f-23a/images/joint_plot.png" alt="f-23a/images/joint_plot.png" width="400" height="267">
159-
160-
See: [example notebook](https://nbviewer.jupyter.org/github/JetBrains/lets-plot-kotlin/blob/master/docs/examples/jupyter-notebooks/f-4.3.0/joint_plot.ipynb).
155+
See also `geomLollipop()` example below.
161156

162157

163-
- ### Configuring Axis Position
158+
### Lollipop Plot
164159
<br>
165-
<img src="https://raw.githubusercontent.com/JetBrains/lets-plot/master/docs/f-23a/images/axis_position.png" alt="f-23a/images/axis_position.png" width="300" height="200">
160+
<img src="https://raw.githubusercontent.com/JetBrains/lets-plot/master/docs/f-23b/images/lollipop.png" alt="f-23b/images/lollipop.png" width="600" height="200">
166161

167-
See: [example notebook](https://nbviewer.jupyter.org/github/JetBrains/lets-plot-kotlin/blob/master/docs/examples/jupyter-notebooks/f-4.3.0/axis_position.ipynb).
162+
See: [example notebook](https://nbviewer.jupyter.org/github/JetBrains/lets-plot-kotlin/blob/master/docs/examples/jupyter-notebooks/f-4.4.0/geom_lollipop.ipynb).
168163

169164

170-
- ### Showing Quantiles on Density Plots
171-
<br>
172-
<img src="https://raw.githubusercontent.com/JetBrains/lets-plot/master/docs/f-23a/images/density_quantiles.png" alt="f-23a/images/density_quantiles.png" width="400" height="150">
165+
### Horizontal error bars and vertical "dodge"
173166

174-
See: [example notebook](https://nbviewer.jupyter.org/github/JetBrains/lets-plot-kotlin/blob/master/docs/examples/jupyter-notebooks/f-4.3.0/quantile_parameters.ipynb).
167+
See: [example notebook](https://nbviewer.jupyter.org/github/JetBrains/lets-plot-kotlin/blob/master/docs/examples/jupyter-notebooks/f-4.4.0/horizontal_error_bars.ipynb).
175168

176169

177-
- ### Additional "color" aesthetics: `paint_a, paint_b, paint_c`.
178-
<br>
179-
<img src="https://raw.githubusercontent.com/JetBrains/lets-plot/master/docs/f-23a/images/additional_color_aes.png" alt="f-23a/images/additional_color_aes.png" width="400" height="300">
170+
### Multi-line Labels in Legends
180171

181-
See [Multiple Color Scales](https://nbviewer.jupyter.org/github/JetBrains/lets-plot-kotlin/blob/master/docs/examples/jupyter-notebooks/f-4.3.0/multiple_color_scales.ipynb) demo.
172+
See: [example notebook](https://nbviewer.jupyter.org/github/JetBrains/lets-plot-kotlin/blob/master/docs/examples/jupyter-notebooks/f-4.4.0/legend_text_multiline.ipynb).
182173

183-
Also added a set of related "color scale" functions with the "aesthetic" parameter for configuring of additional color scales.
184174

185-
See [New "Scale" Functions](https://nbviewer.jupyter.org/github/JetBrains/lets-plot-kotlin/blob/master/docs/examples/jupyter-notebooks/f-4.3.0/scale_functions.ipynb) demo.
186-
187-
188-
- ### Rotation of Axis Tick Labels
189-
190-
See: [example notebook](https://nbviewer.jupyter.org/github/JetBrains/lets-plot-kotlin/blob/master/docs/examples/jupyter-notebooks/f-4.3.0/axis_text_angle.ipynb).
175+
### Colorbar in `geomImshow()`
176+
<br>
177+
<img src="https://raw.githubusercontent.com/JetBrains/lets-plot-kotlin/master/docs/examples/jupyter-notebooks/f-4.4.0/images/kauai_DEM.png" alt="f-4.4.0/images/kauai_DEM.png" width="508" height="368">
191178

192179

193-
- ### Other improvements and fixes
194-
See [CHANGELOG.md](https://github.com/JetBrains/lets-plot-kotlin/blob/master/CHANGELOG.md#430---2023-03-09)
180+
### Other improvements and fixes
181+
See [CHANGELOG.md](https://github.com/JetBrains/lets-plot-kotlin/blob/master/CHANGELOG.md#440---2023-05-10)
195182
for details.
196183

197184

binder/environment.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: kotlin-jupyter-demo
22
dependencies:
3-
- kotlin-jupyter-kernel>=0.11.0.95
4-
- python=3.7
3+
- kotlin-jupyter-kernel>=0.11.0.377
4+
- python=3.8
55
channels:
66
- jetbrains
77
- conda-forge

build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ project.extra["buildSettings"] = settings
2525
allprojects {
2626
group = "org.jetbrains.lets-plot"
2727
version = when (name) {
28-
"dokka" -> "4.3.0"
29-
else -> "4.4.0-alpha3"
28+
"dokka" -> "4.4.0"
29+
else -> "4.4.1-alpha1"
3030
}
3131

3232
val version = version as String

demo/js-frontend-app/src/main/resources/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
</head>
1111
<body>
1212
<script type="text/javascript"
13-
src="https://cdn.jsdelivr.net/gh/JetBrains/lets-plot@v2.5.0rc1/js-package/distr/lets-plot.min.js"></script>
13+
src="https://cdn.jsdelivr.net/gh/JetBrains/lets-plot@v3.2.0/js-package/distr/lets-plot.min.js"></script>
1414
<script src="js-frontend-app.js"></script>
1515
<div>
1616
<h2>Lets-Plot Kotlin/JS Demo.</h2>

future_changes.md

Lines changed: 1 addition & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,7 @@
1-
## [4.4.0] - 2023-mm-dd
1+
## [4.4.1] - 2023-mm-dd
22

33
### Added
44

5-
- The 'newline' character (`\n`) now works as `line break` in legend text.
6-
7-
See: [example notebook](https://nbviewer.jupyter.org/github/JetBrains/lets-plot-kotlin/blob/master/docs/examples/jupyter-notebooks/f-4.4.0/legend_text_multiline.ipynb).
8-
9-
- Horizontal error bars and vertical "dodge".
10-
11-
See: [example notebook](https://nbviewer.jupyter.org/github/JetBrains/lets-plot-kotlin/blob/master/docs/examples/jupyter-notebooks/f-4.4.0/horizontal_error_bars.ipynb).
12-
13-
- `geomLollipop()`.
14-
15-
See: [example notebook](https://nbviewer.jupyter.org/github/JetBrains/lets-plot-kotlin/blob/master/docs/examples/jupyter-notebooks/f-4.4.0/geom_lollipop.ipynb).
16-
17-
- Aesthetic `linewidth` (for `geomLollipop()`) and its scales `scaleLinewidth()`, `scaleLinewidthIdentity()`.
18-
19-
See: [example notebook](https://nbviewer.jupyter.org/github/JetBrains/lets-plot-kotlin/blob/master/docs/examples/jupyter-notebooks/f-4.4.0/geom_lollipop.ipynb).
20-
21-
- Aesthetic `stroke` and its scales `scaleStroke()`, `scaleStrokeIdentity()`.
22-
23-
See: [example notebook](https://nbviewer.jupyter.org/github/JetBrains/lets-plot-kotlin/blob/master/docs/examples/jupyter-notebooks/f-4.4.0/aes_stroke.ipynb).
24-
25-
265
### Changed
276

28-
- [BREAKING] `geomDotplot()` and `geomYDotplot()` no longer support parameter `stat`.
29-
30-
- [BREAKING] Identity scales don't create a legend by default.
31-
32-
337
### Fixed
34-
35-
- Support multiple subdirectories in `ggsave` path [[contribution by David Phillips]](https://github.com/JetBrains/lets-plot-kotlin/pull/163).
36-
- `scaleXDiscrete` doesn't make scale discrete [[#165](https://github.com/JetBrains/lets-plot-kotlin/issues/165)].
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
lets_plot.version=3.2.0-rc1
2-
lets_plot_kotlin_api.version=4.4.0-alpha3
2+
lets_plot_kotlin_api.version=4.4.0

0 commit comments

Comments
 (0)