Skip to content

Commit 32444a8

Browse files
Updated version v4.0.0
1 parent 41661af commit 32444a8

File tree

5 files changed

+97
-89
lines changed

5 files changed

+97
-89
lines changed

CHANGELOG.md

Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,99 @@ 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/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [4.0.0] - 2023-08-17
9+
10+
### Added
11+
12+
- Flavor-aware colors: **pen**, **brush** and **paper**
13+
- By default, all geometries utilize new flavor-aware colors.
14+
- Theme `geom` parameter allows redefinition of "geom colors": `theme(geom=element_geom(pen, brush,paper))`.
15+
16+
See: [example notebook](https://nbviewer.org/github/JetBrains/lets-plot/blob/master/docs/f-23c/geom_theme_colors.ipynb).
17+
18+
19+
- `stat_summary()` :
20+
[example notebook](https://nbviewer.org/github/JetBrains/lets-plot/blob/master/docs/f-23c/stat_summary.ipynb).
21+
22+
- `stat_summary_bin()` :
23+
[example notebook](https://nbviewer.org/github/JetBrains/lets-plot/blob/master/docs/f-23c/stat_summary_bin.ipynb).
24+
25+
- `stat_ecdf()` :
26+
[example notebook](https://nbviewer.org/github/JetBrains/lets-plot/blob/master/docs/f-23c/stat_ecdf.ipynb).
27+
28+
- `geom_function()` :
29+
[example notebook](https://nbviewer.org/github/JetBrains/lets-plot/blob/master/docs/f-23c/geom_function.ipynb).
30+
31+
- `theme_void()` [[#830](https://github.com/JetBrains/lets-plot/issues/830)] :
32+
[example notebook](https://nbviewer.org/github/JetBrains/lets-plot/blob/master/docs/f-23c/theme_void.ipynb).
33+
34+
- `"sum"` statistic [[#821](https://github.com/JetBrains/lets-plot/issues/821)]:
35+
[example notebook](https://nbviewer.org/github/JetBrains/lets-plot/blob/master/docs/f-23c/stat_sum.ipynb).
36+
37+
- `"boxplot_outlier"` statistic: [example notebook](https://nbviewer.org/github/JetBrains/lets-plot/blob/master/docs/f-23c/stat_boxplot_outlier.ipynb).
38+
39+
40+
- Support for variadic line width and/or color in `geom_line()` and `geom_path()` [[#313](https://github.com/JetBrains/lets-plot/issues/313)].
41+
42+
[example notebook](https://nbviewer.org/github/JetBrains/lets-plot/blob/master/docs/f-23c/aes_size_color_variadic_lines.ipynb).
43+
44+
45+
- In tooltip customization API:\
46+
`disable_splitting()` function [[LPK-189](https://github.com/JetBrains/lets-plot-kotlin/issues/189)].
47+
48+
[example notebook](https://nbviewer.org/github/JetBrains/lets-plot/blob/master/docs/f-23c/tooltips_disable_splitting.ipynb).
49+
50+
51+
- In `geom_pie()`:
52+
- `stroke` and `color` aesthetics - the width and color of pie sector arcs.
53+
- `stroke_side` parameter - which arcs to show (inner, outer, both).
54+
- `spacer_width` and `spacer_color` parameters - lines between sectors.
55+
56+
See: [example notebook](https://nbviewer.org/github/JetBrains/lets-plot/blob/master/docs/f-23c/geom_pie_stroke_and_spacers.ipynb).
57+
58+
- `size_unit` parameter : [example notebook](https://nbviewer.org/github/JetBrains/lets-plot/blob/master/docs/f-23c/geom_pie_size_unit.ipynb).
59+
60+
61+
### Changed
62+
63+
- The default qualitative color palette is now [Color Brewer "Set1"](https://colorbrewer2.org/#type=qualitative&scheme=Set1&n=9) (was ["Set2"](https://colorbrewer2.org/#type=qualitative&scheme=Set2&n=8))
64+
- Geometries default colors are now flavor-dependent: [example notebook](https://nbviewer.org/github/JetBrains/lets-plot/blob/master/docs/f-23c/geom_theme_colors.ipynb).
65+
- Geometries default size/line-width is now slightly bigger.
66+
- Point size is adjusted to match the width of a line of the same "size".
67+
68+
- [BREAKING] `geom_pie()` no longer supports parameter `stroke_color`.
69+
70+
- [BREAKING] `geom_boxplot()` no longer support parameter `sampling`.
71+
72+
- [BREAKING] `geom_pointrange()`: `size` aesthetic shouldn't affect line width [[#751](https://github.com/JetBrains/lets-plot/issues/751)]:
73+
74+
`linewidth` aesthetic is used for line width, `size` - for mid-point size only.
75+
76+
- `geom_boxplot()`: `size` and `stroke` parameters now affect outlier shapes.
77+
78+
- [BREAKING, only affects users of Lets-Plot Kotlin API] \
79+
The entire project has undergone package refactoring.\
80+
As a result of package names changed, Lets-Plot v4.0.0 is partially incompatible\
81+
with Lets-Plot Kotlin API versions 4.4.1 and earlier.
82+
83+
84+
### Fixed
85+
86+
- `ggsave()` doesn't save geom_raster() layer to a file [[#778](https://github.com/JetBrains/lets-plot/issues/778)].
87+
- `ggsave()`: saving geomImshow() to SVG produces fuzzy picture [[LPK-188](https://github.com/JetBrains/lets-plot-kotlin/issues/188)].
88+
- `ggsave()`: saving geomImshow() to raster format produces fuzzy picture.
89+
- `geom_crossbar()` aesthetics take `middle` argument instead of `y` [[#804](https://github.com/JetBrains/lets-plot/issues/804)].
90+
- `geom_boxplot()` doesn't apply alpha to outliers [[#754](https://github.com/JetBrains/lets-plot/issues/754)].
91+
- `geom_boxplot()` outliers do not show tooltips.
92+
- `geom_step()` no tooltips.
93+
- `geom_step()`: toggle the behavior of the `direction` parameter when the orientation is changed.
94+
- `geom_livemap()`: memory leak when re-run cells without reloading a page.
95+
- `geom_ribbon()`: not all tooltips are shown on a multi-layer plot [[#847](https://github.com/JetBrains/lets-plot/issues/847)].
96+
- Bug in empty plot: IndexOutOfBoundsException [[#194](https://github.com/JetBrains/lets-plot-kotlin/issues/194)].
97+
- Weird tooltip/legend in case of extremely long value [[#315](https://github.com/JetBrains/lets-plot/issues/315)].
98+
- panning on interactive map should be more responsive [[#336](https://github.com/JetBrains/lets-plot/issues/336)].
99+
- Offline mode doesn't work with manylinux wheels [[#808](https://github.com/JetBrains/lets-plot/issues/808)].
100+
8101
## [3.2.0] - 2023-05-09
9102

10103
### Added

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ project.ext.letsPlotTaskGroup = 'lets-plot'
1717

1818
allprojects {
1919
group = 'org.jetbrains.lets-plot'
20-
version = "4.0.1-alpha1"
20+
version = "4.0.0"
2121
// see also: python-package/lets_plot/_version.py
2222

2323
// Generate JVM 1.8 bytecode

future_changes.md

Lines changed: 1 addition & 86 deletions
Original file line numberDiff line numberDiff line change
@@ -1,92 +1,7 @@
1-
## [4.0.0] - 2023-mm-dd
1+
## [4.0.1] - 2023-mm-dd
22

33
### Added
44

5-
- Flavor-aware colors: **pen**, **brush** and **paper**
6-
- By default, all geometries utilize new flavor-aware colors.
7-
- Theme `geom` parameter allows redefinition of "geom colors": `theme(geom=element_geom(pen, brush,paper))`.
8-
9-
See: [example notebook](https://nbviewer.org/github/JetBrains/lets-plot/blob/master/docs/f-23c/geom_theme_colors.ipynb).
10-
11-
12-
- `stat_summary()` :
13-
[example notebook](https://nbviewer.org/github/JetBrains/lets-plot/blob/master/docs/f-23c/stat_summary.ipynb).
14-
15-
- `stat_summary_bin()` :
16-
[example notebook](https://nbviewer.org/github/JetBrains/lets-plot/blob/master/docs/f-23c/stat_summary_bin.ipynb).
17-
18-
- `stat_ecdf()` :
19-
[example notebook](https://nbviewer.org/github/JetBrains/lets-plot/blob/master/docs/f-23c/stat_ecdf.ipynb).
20-
21-
- `geom_function()` :
22-
[example notebook](https://nbviewer.org/github/JetBrains/lets-plot/blob/master/docs/f-23c/geom_function.ipynb).
23-
24-
- `theme_void()` [[#830](https://github.com/JetBrains/lets-plot/issues/830)] :
25-
[example notebook](https://nbviewer.org/github/JetBrains/lets-plot/blob/master/docs/f-23c/theme_void.ipynb).
26-
27-
- `"sum"` statistic [[#821](https://github.com/JetBrains/lets-plot/issues/821)]:
28-
[example notebook](https://nbviewer.org/github/JetBrains/lets-plot/blob/master/docs/f-23c/stat_sum.ipynb).
29-
30-
- `"boxplot_outlier"` statistic: [example notebook](https://nbviewer.org/github/JetBrains/lets-plot/blob/master/docs/f-23c/stat_boxplot_outlier.ipynb).
31-
32-
33-
- Support for variadic line width and/or color in `geom_line()` and `geom_path()` [[#313](https://github.com/JetBrains/lets-plot/issues/313)].
34-
35-
[example notebook](https://nbviewer.org/github/JetBrains/lets-plot/blob/master/docs/f-23c/aes_size_color_variadic_lines.ipynb).
36-
37-
38-
- In tooltip customization API:\
39-
`disable_splitting()` function [[LPK-189](https://github.com/JetBrains/lets-plot-kotlin/issues/189)].
40-
41-
[example notebook](https://nbviewer.org/github/JetBrains/lets-plot/blob/master/docs/f-23c/tooltips_disable_splitting.ipynb).
42-
43-
44-
- In `geom_pie()`:
45-
- `stroke` and `color` aesthetics - the width and color of pie sector arcs.
46-
- `stroke_side` parameter - which arcs to show (inner, outer, both).
47-
- `spacer_width` and `spacer_color` parameters - lines between sectors.
48-
49-
See: [example notebook](https://nbviewer.org/github/JetBrains/lets-plot/blob/master/docs/f-23c/geom_pie_stroke_and_spacers.ipynb).
50-
51-
- `size_unit` parameter : [example notebook](https://nbviewer.org/github/JetBrains/lets-plot/blob/master/docs/f-23c/geom_pie_size_unit.ipynb).
52-
53-
545
### Changed
556

56-
- The default qualitative color palette is now [Color Brewer "Set1"](https://colorbrewer2.org/#type=qualitative&scheme=Set1&n=9) (was ["Set2"](https://colorbrewer2.org/#type=qualitative&scheme=Set2&n=8))
57-
- Geometries default colors are now flavor-dependent: [example notebook](https://nbviewer.org/github/JetBrains/lets-plot/blob/master/docs/f-23c/geom_theme_colors.ipynb).
58-
- Geometries default size/line-width is now slightly bigger.
59-
- Point size is adjusted to match the width of a line of the same "size".
60-
61-
- [BREAKING] `geom_pie()` no longer supports parameter `stroke_color`.
62-
63-
- [BREAKING] `geom_boxplot()` no longer support parameter `sampling`.
64-
65-
- [BREAKING] `geom_pointrange()`: `size` aesthetic shouldn't affect line width [[#751](https://github.com/JetBrains/lets-plot/issues/751)]:
66-
67-
`linewidth` aesthetic is used for line width, `size` - for mid-point size only.
68-
69-
- `geom_boxplot()`: `size` and `stroke` parameters now affect outlier shapes.
70-
71-
- [BREAKING, only affects users of Lets-Plot Kotlin API] \
72-
The entire project has undergone package refactoring.\
73-
As a result of package names changed, Lets-Plot v4.0.0 is partially incompatible\
74-
with Lets-Plot Kotlin API versions 4.4.1 and earlier.
75-
76-
777
### Fixed
78-
79-
- `ggsave()` doesn't save geom_raster() layer to a file [[#778](https://github.com/JetBrains/lets-plot/issues/778)].
80-
- `ggsave()`: saving geomImshow() to SVG produces fuzzy picture [[LPK-188](https://github.com/JetBrains/lets-plot-kotlin/issues/188)].
81-
- `ggsave()`: saving geomImshow() to raster format produces fuzzy picture.
82-
- `geom_crossbar()` aesthetics take `middle` argument instead of `y` [[#804](https://github.com/JetBrains/lets-plot/issues/804)].
83-
- `geom_boxplot()` doesn't apply alpha to outliers [[#754](https://github.com/JetBrains/lets-plot/issues/754)].
84-
- `geom_boxplot()` outliers do not show tooltips.
85-
- `geom_step()` no tooltips.
86-
- `geom_step()`: toggle the behavior of the `direction` parameter when the orientation is changed.
87-
- `geom_livemap()`: memory leak when re-run cells without reloading a page.
88-
- `geom_ribbon()`: not all tooltips are shown on a multi-layer plot [[#847](https://github.com/JetBrains/lets-plot/issues/847)].
89-
- Bug in empty plot: IndexOutOfBoundsException [[#194](https://github.com/JetBrains/lets-plot-kotlin/issues/194)].
90-
- Weird tooltip/legend in case of extremely long value [[#315](https://github.com/JetBrains/lets-plot/issues/315)].
91-
- panning on interactive map should be more responsive [[#336](https://github.com/JetBrains/lets-plot/issues/336)].
92-
- Offline mode doesn't work with manylinux wheels [[#808](https://github.com/JetBrains/lets-plot/issues/808)].

js-package/distr/lets-plot.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

python-package/lets_plot/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
# Use of this source code is governed by the MIT license that can be found in the LICENSE file.
44
#
55
# see: https://www.python.org/dev/peps/pep-0440/#developmental-releases
6-
__version__ = '4.0.1.dev1'
6+
__version__ = '4.0.0'

0 commit comments

Comments
 (0)