Skip to content

Commit 35decc5

Browse files
committed
Update docs
1 parent 1a78f6d commit 35decc5

File tree

4 files changed

+30
-106
lines changed

4 files changed

+30
-106
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ 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-
## [4.2.0] - 2022-12-30
8+
## [4.2.0] - 2022-12-29
99

1010
### Added
1111

README.md

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

46-
- [What is new in 4.1.1](#new411)
47-
- [What is new in 4.1.0](#new)
46+
- [What is new in 4.2.0](#new)
4847
- [Migrating from v3 to v4](#migrating4)
4948

5049
- [Change log](#change_log)
@@ -266,72 +265,44 @@ individual `Geometry` and `ReferencedEnvelope` objects.
266265
Learn more: [GeoTools Support](https://github.com/JetBrains/lets-plot-kotlin/blob/master/docs/geotools.md).
267266

268267

269-
<a id="new411"></a>
270-
## What is new in 4.1.1
271-
272-
- New rendering options in `geomText(), geomLabel()`
273-
- `vjust` parameter in `positionStack()` and `positionFill()`
274-
275-
See [CHANGELOG.md](https://github.com/JetBrains/lets-plot-kotlin/blob/master/CHANGELOG.md#411---2022-11-08)
276-
for more details.
277-
278-
279268
<a id="new"></a>
280-
## What is new in 4.1.0
281-
282-
- ### Plot Theme
283-
284-
- #### `themeBW()`
269+
## What is new in 4.2.0
285270

286-
See: [example notebook](https://nbviewer.jupyter.org/github/JetBrains/lets-plot-kotlin/blob/master/docs/examples/jupyter-notebooks/complete_themes.ipynb).
287-
288-
- #### Theme Flavors
289-
290-
Theme flavor offers an easy way to change the colors of all elements in a theme to match a specific color scheme.
291-
292-
In this release, we have added the following flavors:
293-
- _darcula_
294-
- _solarized_light_
295-
- _solarized_dark_
296-
- _high_contrast_light_
297-
- _high_contrast_dark_
298-
299-
<br>
300-
<img src="https://raw.githubusercontent.com/JetBrains/lets-plot/master/docs/f-22c/images/theme_flavors.png" alt="f-22c/images/theme_flavors.png" width="1000" height="133">
271+
- ### New Plot Types
301272

302-
See: [example notebook](https://nbviewer.jupyter.org/github/JetBrains/lets-plot-kotlin/blob/master/docs/examples/jupyter-notebooks/theme_flavors.ipynb).
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">
303277

304-
- #### New parameters in `elementText()`
305-
- `size, family`
306-
([example notebook](https://nbviewer.jupyter.org/github/JetBrains/lets-plot-kotlin/blob/master/docs/examples/jupyter-notebooks/font_size_and_family.ipynb))
307-
- `hjust, vjust` for plot title, subtitle, caption, legend and axis titles
308-
([example notebook](https://nbviewer.jupyter.org/github/JetBrains/lets-plot-kotlin/blob/master/docs/examples/jupyter-notebooks/hjust_vjust.ipynb))
309-
- `margin` for plot title, subtitle, caption, axis titles and tick labels
310-
([example notebook](https://nbviewer.jupyter.org/github/JetBrains/lets-plot-kotlin/blob/master/docs/examples/jupyter-notebooks/text_margins.ipynb))
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).
311279

312-
- ### New Plot Types
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">
313283

314-
`geomLabel()`.
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).
315285

316-
See: [example notebook](https://nbviewer.jupyter.org/github/JetBrains/lets-plot-kotlin/blob/master/docs/examples/jupyter-notebooks/geom_label.ipynb).
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">
317289

318-
- ### Color Scales
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).
319291

320-
Viridis color scales: `scaleColorViridis()`, `scaleFillViridis()`.
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">
321296

322-
Supported colormaps:
323-
- _magma_
324-
- _inferno_
325-
- _plasma_
326-
- _viridis_
327-
- _cividis_
328-
- _turbo_
329-
- _twilight_
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).
330298

331-
<br>
332-
<img src="https://raw.githubusercontent.com/JetBrains/lets-plot/master/docs/f-22c/images/viridis_plasma.png" alt="f-22c/images/viridis_plasma.png" width="439" height="132">
299+
- #### `geomImshow()`
333300

334-
See: [example notebook](https://nbviewer.jupyter.org/github/JetBrains/lets-plot-kotlin/blob/master/docs/examples/jupyter-notebooks/colors_viridis.ipynb).
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+
335306

336307
- ### Other improvements and fixes
337308
See [CHANGELOG.md](https://github.com/JetBrains/lets-plot-kotlin/blob/master/CHANGELOG.md#410---2022-09-30)

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.1.1demos1?filepath=docs/examples/jupyter-notebooks/
7+
https://mybinder.org/v2/gh/JetBrains/lets-plot-kotlin/v4.2.0demos1?filepath=docs/examples/jupyter-notebooks/
88

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

future_changes.md

Lines changed: 1 addition & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -1,57 +1,10 @@
1-
## [4.2.0] - 2022-12-dd
1+
## [4.2.0] - 2023-mm-dd
22

33
### Added
44

5-
- `residualPlot()`.
6-
7-
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).
8-
9-
- `geomAreaRidges()`.
10-
11-
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).
12-
13-
- `geomPie()`.
14-
15-
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).
16-
17-
- Annotations for pie chart:
18-
19-
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).
20-
21-
- New variables computed by 'count' and 'count2d' statistics: '..sum..', '..prop..', '..proppct..'.
22-
23-
See: [example notebook](https://nbviewer.jupyter.org/github/JetBrains/lets-plot-kotlin/blob/master/docs/examples/jupyter-notebooks/f-4.2.0/stat_count_2d.ipynb).
24-
25-
- `geomImshow()`:
26-
27-
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),
28-
[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),
29-
[image_grayscale](https://nbviewer.jupyter.org/github/JetBrains/lets-plot-kotlin/blob/master/docs/examples/jupyter-notebooks/f-4.2.0/image_grayscale.ipynb),
30-
[image_extent](https://nbviewer.jupyter.org/github/JetBrains/lets-plot-kotlin/blob/master/docs/examples/jupyter-notebooks/f-4.2.0/image_extent.ipynb)
31-
32-
- New parameters in `geomViolin()`:
33-
- `tailsCutoff`
34-
([example notebook](https://nbviewer.jupyter.org/github/JetBrains/lets-plot-kotlin/blob/master/docs/examples/jupyter-notebooks/f-4.2.0/violin_tails_cutoff.ipynb))
35-
- `showHalf`
36-
([example notebook](https://nbviewer.jupyter.org/github/JetBrains/lets-plot-kotlin/blob/master/docs/examples/jupyter-notebooks/f-4.2.0/violin_show_half.ipynb))
37-
38-
- Static maps:
39-
- `useCRS` parameter with value "provided" for `geomMap()` and other geoms, working with `SpatialDataset`.
40-
41-
See: [example notebook](https://nbviewer.org/github/JetBrains/lets-plot-kotlin/blob/master/docs/examples/jupyter-notebooks/f-4.2.0/projection_provided.ipynb).
42-
435

446
### Changed
457

46-
- Upgraded Lets-Plot version to 3.0.0 (was 2.5.1).
47-
- Java/Swing platf.: Apache Batik upgraded to v.1.16 [[#624](https://github.com/JetBrains/lets-plot/issues/624)], [[LPK #140](https://github.com/JetBrains/lets-plot-kotlin/issues/140)].
48-
- The default size is increased for the plot title and decreased for the caption.
49-
- Upgraded Kotlin version to 1.7.21 (was 1.7.20).
50-
518

529
### Fixed
5310

54-
- Themes: can't change plot background after applying a "flavor" [[#623](https://github.com/JetBrains/lets-plot/issues/623)].
55-
- Layout: uneven left/right, top/bottom plot margins [[#625](https://github.com/JetBrains/lets-plot/issues/625)].
56-
- A plot building error with empty data on various geoms.
57-
- Precision error in gradient [[#634](https://github.com/JetBrains/lets-plot/issues/634)].

0 commit comments

Comments
 (0)