Skip to content

Commit 5225149

Browse files
committed
Updated README.md and CHANGELOG.md
1 parent 13c86e6 commit 5225149

File tree

5 files changed

+122
-104
lines changed

5 files changed

+122
-104
lines changed

CHANGELOG.md

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,81 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres
66
to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). All scales should have the 'format' parameter.
77

8+
9+
## [4.3.0] - 2023-03-09
10+
11+
### Added
12+
13+
- `gggrid()` function ([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).
14+
- plots inner area alignment in grid
15+
- nested grids
16+
- works well with `ggsize()`
17+
18+
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).
19+
20+
21+
- `jointPlot()`.
22+
23+
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).
24+
25+
26+
- Axis `position` parameter in position scales `scaleX*(), scaleY*()`.
27+
28+
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).
29+
30+
31+
- Drawing quantile lines and filling quantile areas in `geomViolin()` and `geomDensity()`.
32+
33+
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).
34+
35+
36+
- `angle` parameter in `elementText()` in `theme()`.
37+
38+
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).
39+
40+
41+
- Additional "color" aesthetics: `paint_a, paint_b, paint_c`.
42+
43+
These aesthetics are flexible and can be used as either "color" or "fill" as needed.
44+
45+
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.
46+
47+
Also added a set of related "color scale" functions with the "aesthetic" parameter for configuring of additional color scales.
48+
49+
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.
50+
51+
52+
- `density2d` and `density2df` geometry types in `residualPlot()`.
53+
54+
55+
### Changed
56+
57+
- [BREAKING] `geomViolin()` no longer supports parameter `drawQuantiles`. Use new `quantileLines` and `quantiles` parameters as needed.
58+
59+
- [BREAKING] `stack` and `fill` position adjustments now stack objects on top of each other only if these objects belong to different **groups**.
60+
61+
If necessary, use `mode="all"` in `positionStack()` or `positionFill()` to stack objects regardless of their group.
62+
63+
See: [example notebook](https://nbviewer.jupyter.org/github/JetBrains/lets-plot-kotlin/blob/master/docs/examples/jupyter-notebooks/f-4.3.0/position_stack.ipynb).
64+
65+
- [BREAKING] The deprecation level raised to "ERROR" for all API that was deprecated in v. 4.2.0 and earlier.
66+
67+
- [DEPRECATED] The earlier variant of [gggrid()](https://github.com/JetBrains/lets-plot-kotlin/blob/master/plot-api/src/commonMain/kotlin/org/jetbrains/letsPlot/gggrid_deprecated.kt).
68+
69+
From now-on please use new variant added in this release: [new gggrid()](https://lets-plot.org/kotlin/-lets--plot--kotlin/org.jetbrains.letsPlot/gggrid.html).
70+
71+
- Sampling: drastically increased default N for "pick sampling" and for other types of sampling [[#687](https://github.com/JetBrains/lets-plot/issues/687)].
72+
73+
### Fixed
74+
75+
- Tooltip does not reflect `..quantile..` aesthetic change [[#658](https://github.com/JetBrains/lets-plot/issues/658)].
76+
- 'map_join': variable is lost after "stat" [[#664](https://github.com/JetBrains/lets-plot/issues/664)].
77+
- Error when tooltip has variable mapped to aesthetic used by stat [[#665](https://github.com/JetBrains/lets-plot/issues/665)].
78+
- Groups not sorted similarly when `position='stack'` [[#673](https://github.com/JetBrains/lets-plot/issues/673)].
79+
- Area ridges: fill overlaps geometry borders when colors are repeated [[#674](https://github.com/JetBrains/lets-plot/issues/674)].
80+
- Sampling: increase the default N for "pick sampling" and for other types of sampling [[#687](https://github.com/JetBrains/lets-plot/issues/687)].
81+
82+
883
## [4.2.0] - 2022-12-29
984

1085
### Added

README.md

Lines changed: 36 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
- [Saving plot to file](#export)
4444
- [GeoTools support](#geotools)
4545

46-
- [What is new in 4.2.0](#new)
46+
- [What is new in 4.3.0](#new)
4747
- [Migrating from v3 to v4](#migrating4)
4848

4949
- [Change log](#change_log)
@@ -266,46 +266,54 @@ Learn more: [GeoTools Support](https://github.com/JetBrains/lets-plot-kotlin/blo
266266

267267

268268
<a id="new"></a>
269-
## What is new in 4.2.0
269+
## What is new in 4.3.0
270270

271-
- ### New Plot Types
271+
- ### `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).
272+
<br>
273+
<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">
272274

273-
- #### `residualPlot()`
274-
<br>
275-
<img src="https://raw.githubusercontent.com/JetBrains/lets-plot/master/docs/f-22e/images/residual-light.png" alt="f-22e/images/residual-light.png" width="200" height="133">
276-
<img src="https://raw.githubusercontent.com/JetBrains/lets-plot/master/docs/f-22e/images/residual-dark.png" alt="f-22e/images/residual-dark.png" width="200" height="133">
275+
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).
277276

278-
See: [example notebook](https://nbviewer.jupyter.org/github/JetBrains/lets-plot-kotlin/blob/master/docs/examples/jupyter-notebooks/f-4.2.0/residual_plot.ipynb).
279277

280-
- #### `geomAreaRidges()`
281-
<br>
282-
<img src="https://raw.githubusercontent.com/JetBrains/lets-plot/master/docs/f-22e/images/ridges-dark.png" alt="f-22e/images/ridges-dark.png" width="400" height="130">
278+
- ### `jointPlot()`
279+
<br>
280+
<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">
283281

284-
See: [example notebook](https://nbviewer.jupyter.org/github/JetBrains/lets-plot-kotlin/blob/master/docs/examples/jupyter-notebooks/f-4.2.0/ridgeline_plot.ipynb).
282+
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).
285283

286-
- #### `geomPie()`
287-
<br>
288-
<img src="https://raw.githubusercontent.com/JetBrains/lets-plot/master/docs/f-22e/images/pie.png" alt="f-22e/images/pie.png" width="379" height="106">
289284

290-
See: [example notebook](https://nbviewer.jupyter.org/github/JetBrains/lets-plot-kotlin/blob/master/docs/examples/jupyter-notebooks/f-4.2.0/geom_pie.ipynb).
285+
- ### Configuring Axis Position
286+
<br>
287+
<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">
291288

292-
- #### Annotation Labels on Pie-Chart
293-
<br>
294-
<img src="https://raw.githubusercontent.com/JetBrains/lets-plot/master/docs/f-22e/images/pie-labels-explode.png" alt="f-22e/images/pie-labels-explode.png" width="195" height="133">
295-
<img src="https://raw.githubusercontent.com/JetBrains/lets-plot/master/docs/f-22e/images/pie-labels-titanic.png" alt="f-22e/images/pie-labels-titanic.png" width="366" height="133">
289+
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).
296290

297-
See: [example notebook](https://nbviewer.jupyter.org/github/JetBrains/lets-plot-kotlin/blob/master/docs/examples/jupyter-notebooks/f-4.2.0/annotations_for_pie.ipynb).
298291

299-
- #### `geomImshow()`
292+
- ### Showing Quantiles on Density Plots
293+
<br>
294+
<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">
295+
296+
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).
297+
298+
299+
- ### Additional "color" aesthetics: `paint_a, paint_b, paint_c`.
300+
<br>
301+
<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">
302+
303+
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.
304+
305+
Also added a set of related "color scale" functions with the "aesthetic" parameter for configuring of additional color scales.
306+
307+
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.
308+
309+
310+
- ### Rotation of Axis Tick Labels
311+
312+
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).
300313

301-
See: [image_101](https://nbviewer.jupyter.org/github/JetBrains/lets-plot-kotlin/blob/master/docs/examples/jupyter-notebooks/f-4.2.0/image_101.ipynb),
302-
[image_fisher_boat](https://nbviewer.jupyter.org/github/JetBrains/lets-plot-kotlin/blob/master/docs/examples/jupyter-notebooks/f-4.2.0/image_fisher_boat.ipynb),
303-
[image_grayscale](https://nbviewer.jupyter.org/github/JetBrains/lets-plot-kotlin/blob/master/docs/examples/jupyter-notebooks/f-4.2.0/image_grayscale.ipynb),
304-
[image_extent](https://nbviewer.jupyter.org/github/JetBrains/lets-plot-kotlin/blob/master/docs/examples/jupyter-notebooks/f-4.2.0/image_extent.ipynb)
305-
306314

307315
- ### Other improvements and fixes
308-
See [CHANGELOG.md](https://github.com/JetBrains/lets-plot-kotlin/blob/master/CHANGELOG.md#410---2022-09-30)
316+
See [CHANGELOG.md](https://github.com/JetBrains/lets-plot-kotlin/blob/master/CHANGELOG.md#430---2023-03-09)
309317
for details.
310318

311319

README_DEV.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -84,17 +84,17 @@ repositories {
8484

8585
```groovy
8686
dependencies {
87-
implementation "org.jetbrains.lets-plot:lets-plot-batik:3.0.0"
88-
implementation "org.jetbrains.lets-plot:lets-plot-kotlin-jvm:4.2.0"
87+
implementation "org.jetbrains.lets-plot:lets-plot-batik:3.1.0"
88+
implementation "org.jetbrains.lets-plot:lets-plot-kotlin-jvm:4.3.0"
8989
}
9090
```
9191

9292
- JVM/Swing/JavaFX application:
9393

9494
```groovy
9595
dependencies {
96-
implementation "org.jetbrains.lets-plot:lets-plot-jfx:3.0.0"
97-
implementation "org.jetbrains.lets-plot:lets-plot-kotlin-jvm:4.2.0"
96+
implementation "org.jetbrains.lets-plot:lets-plot-jfx:3.1.0"
97+
implementation "org.jetbrains.lets-plot:lets-plot-kotlin-jvm:4.3.0"
9898
}
9999
```
100100

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

107107
```groovy
108108
dependencies {
109-
implementation "org.jetbrains.lets-plot:lets-plot-common:3.0.0"
110-
implementation "org.jetbrains.lets-plot:lets-plot-kotlin-jvm:4.2.0"
109+
implementation "org.jetbrains.lets-plot:lets-plot-common:3.1.0"
110+
implementation "org.jetbrains.lets-plot:lets-plot-kotlin-jvm:4.3.0"
111111
}
112112
```
113113

114114
- Kotlin/JS application:
115115

116116
```groovy
117117
dependencies {
118-
implementation "org.jetbrains.lets-plot:lets-plot-kotlin-js:4.2.0"
118+
implementation "org.jetbrains.lets-plot:lets-plot-kotlin-js:4.3.0"
119119
}
120120
```
121121

@@ -150,8 +150,8 @@ The following steps describe how to use `Lets-Plot` JVM "backend" in "browser" f
150150
#### Add dependencies on maven artifacts
151151

152152
```
153-
org.jetbrains.lets-plot:lets-plot-common:3.0.0
154-
org.jetbrains.lets-plot-kotlin:lets-plot-kotlin-jvm:4.2.0
153+
org.jetbrains.lets-plot:lets-plot-common:3.1.0
154+
org.jetbrains.lets-plot-kotlin:lets-plot-kotlin-jvm:4.3.0
155155
```
156156

157157
#### Implement the `jetbrains.letsPlot.FrontendContext` interface:

docs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ https://github.com/JetBrains/lets-plot-kotlin/blob/master/docs/examples.md
44

55
### Explore example notebooks in Binder:
66

7-
https://mybinder.org/v2/gh/JetBrains/lets-plot-kotlin/v4.2.0demos1?filepath=docs/examples/jupyter-notebooks/
7+
https://mybinder.org/v2/gh/JetBrains/lets-plot-kotlin/v4.3.0demos?filepath=docs/examples/jupyter-notebooks/
88

99
### Browse Lets-Plot Kotlin API:
1010

future_changes.md

Lines changed: 1 addition & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -1,72 +1,7 @@
1-
## [4.3.0] - 2023-03-dd
1+
## [4.3.1] - 2023-mm-dd
22

33
### Added
44

5-
- `gggrid()` function, as a replacement for the earlier variant of [gggrid()](https://lets-plot.org/kotlin/-lets--plot--kotlin/org.jetbrains.letsPlot/gggrid.html).
6-
- sup-plots alignment
7-
- nested grids
8-
- works well with `ggsize()`
9-
10-
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).
11-
12-
13-
- `jointPlot()`.
14-
15-
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).
16-
17-
18-
- Axis `position` parameter in position scales `scaleX*(), scaleY*()`.
19-
20-
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).
21-
22-
23-
- `angle` parameter in `elementText()` in `theme()`.
24-
25-
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).
26-
27-
28-
- Drawing quantile lines and filling quantile areas in `geomViolin()` and `geomDensity()`.
29-
30-
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).
31-
32-
33-
- Additional "color" aesthetics: `paint_a, paint_b, paint_c`.
34-
35-
These aesthetics are flexible and can be used as either "color" or "fill" as needed.
36-
37-
See [Multiple Color Scales](https://nbviewer.jupyter.org/github/JetBrains/lets-plot-kotlin/blob/master/docs/examples/jupyter-notebooks/f-4.2.1/multiple_color_scales.ipynb) demo.
38-
39-
Also added a set of related "color scale" functions with the "aesthetic" parameter for configuring of additional color scales.
40-
41-
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.
42-
43-
44-
- `density2d` and `density2df` geometry types in `residualPlot()`.
45-
46-
475
### Changed
486

49-
- [BREAKING] `geomViolin()` no longer supports parameter `drawQuantiles`. Use new `quantileLines` and `quantiles` parameters as needed.
50-
51-
- [BREAKING] `stack` and `fill` position adjustments now stack objects on top of each other only if these objects belong to different **groups**.
52-
53-
If necessary, use `mode="all"` in `positionStack()` or `positionFill()` to stack objects regardless of their group.
54-
55-
See: [example notebook](https://nbviewer.jupyter.org/github/JetBrains/lets-plot-kotlin/blob/master/docs/examples/jupyter-notebooks/f-4.3.0/position_stack.ipynb).
56-
57-
- [BREAKING] The deprecation level raised to "ERROR" for all API that was deprecated in v. 4.2.0 and earlier.
58-
59-
- [DEPRECATED] The earlier variant of [gggrid()](https://lets-plot.org/kotlin/-lets--plot--kotlin/org.jetbrains.letsPlot/gggrid.html).
60-
61-
From now-on please use the variant added in this release: [new gggrid()]( to do ).
62-
63-
- Sampling: drastically increased default N for "pick sampling" and for other types of sampling [[#687](https://github.com/JetBrains/lets-plot/issues/687)].
64-
657
### Fixed
66-
67-
- Tooltip does not reflect `..quantile..` aesthetic change [[#658](https://github.com/JetBrains/lets-plot/issues/658)].
68-
- 'map_join': variable is lost after "stat" [[#664](https://github.com/JetBrains/lets-plot/issues/664)].
69-
- Error when tooltip has variable mapped to aesthetic used by stat [[#665](https://github.com/JetBrains/lets-plot/issues/665)].
70-
- Groups not sorted similarly when `position='stack'` [[#673](https://github.com/JetBrains/lets-plot/issues/673)].
71-
- Area ridges: fill overlaps geometry borders when colors are repeated [[#674](https://github.com/JetBrains/lets-plot/issues/674)].
72-
- Sampling: increase the default N for "pick sampling" and for other types of sampling [[#687](https://github.com/JetBrains/lets-plot/issues/687)].

0 commit comments

Comments
 (0)