@@ -66,8 +66,7 @@ See the "Quickstart" notebook in [Datalore](https://datalore.jetbrains.com/view/
66
66
- [ Compose Multiplatform] ( #in-compose-multiplatform )
67
67
- [ JVM and Kotlin/JS] ( #in-jvm-js )
68
68
- [ Documentation] ( #documentation )
69
- - [ What is new in 4.4.2] ( #new )
70
- - [ Migrating from v3 to v4] ( #migrating4 )
69
+ - [ What is new in 4.5.0] ( #new )
71
70
- [ Change Log] ( #change_log )
72
71
- [ Code of Conduct] ( #CoC )
73
72
- [ License] ( #license )
@@ -102,7 +101,7 @@ In this case the latest `library descriptor` will be pulled from the [Kotlin Jup
102
101
#### Library Descriptor Parameters
103
102
104
103
```
105
- %use lets-plot(api=4.4.3 , lib=4.0.1 , js=4.0.1 , isolatedFrame=false)
104
+ %use lets-plot(api=4.5.0 , lib=4.1.0 , js=4.1.0 , isolatedFrame=false)
106
105
```
107
106
- ` api ` - version of the Lets-Plot Kotlin API.
108
107
- ` lib ` - version of the Lets-Plot Multiplatform (JARs).
@@ -139,67 +138,43 @@ Examples of using of the Lets-Plot Kotlin API in JVM and Kotlin/JS applications
139
138
140
139
141
140
<a id =" new " ></a >
142
- ## What is new in 4.4.2
141
+ ## What is new in 4.5.0
143
142
144
- > Note: Due to major package refactoring in the main Lets-Plot library, this version (4.4.2) of the Kotlin API\
145
- > is not compatible with versions of Lets-Plot library v3.2.0 and earlier.
143
+ - #### Annotations in Barchart
146
144
147
-
148
- ### A Number of Geometry Defaults Changed
149
-
150
- - 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 ) ).
151
- - Slightly bigger default size of points and width of lines.
152
- - Flavor-aware default colors for points, lines etc.
153
- <br >
154
- <img src =" https://raw.githubusercontent.com/JetBrains/lets-plot/master/docs/f-23c/images/geom_defaults.png " alt =" f-23c/images/geom_defaults.png " width =" 504 " height =" 150 " >
155
145
<br >
156
- <img src =" https://raw.githubusercontent.com/JetBrains/lets-plot/master/docs/f-23c /images/flavor_geom_colors .png " alt =" f-23c /images/flavor_geom_colors .png " width =" 1024 " height =" 120 " >
146
+ <img src =" https://raw.githubusercontent.com/JetBrains/lets-plot/master/docs/f-23e /images/annotated_bars .png " alt =" f-23e /images/annotated_bars .png " width =" 512 " height =" 312 " >
157
147
158
- See: [ example notebook] ( https://nbviewer.jupyter. org/github/JetBrains/lets-plot-kotlin/blob/master/docs/examples/jupyter-notebooks/f-4.4.2/geom_theme_colors .ipynb ) .
148
+ See: [ example notebook] ( https://nbviewer.org/github/JetBrains/lets-plot-kotlin/blob/master/docs/examples/jupyter-notebooks/f-4.5.0/bar_annotations .ipynb ) .
159
149
160
- - Size of points is slightly adjusted to match the width of a line of the same "size".
161
- <br >
162
- <img src =" https://raw.githubusercontent.com/JetBrains/lets-plot/master/docs/f-23c/images/point_vs_line.png " alt =" f-23c/images/point_vs_line.png " width =" 170 " height =" 150 " >
163
- <br >
150
+ - #### Common Theme for Subplots
164
151
165
- ### Support for Variadic Line Width and/or Color in ` geomLine() ` and ` geomPath() `
166
152
<br >
167
- <img src =" https://raw.githubusercontent.com/JetBrains/lets-plot/master/docs/f-23c /images/variadic_width .png " alt =" f-23c /images/variadic_width .png " width =" 455 " height =" 150 " >
153
+ <img src =" https://raw.githubusercontent.com/JetBrains/lets-plot/master/docs/f-23e /images/gggrid_theme .png " alt =" f-23e /images/gggrid_theme .png " width =" 512 " height =" 292 " >
168
154
169
- See: [ example notebook] ( https://nbviewer.jupyter. org/github/JetBrains/lets-plot-kotlin/blob/master/docs/examples/jupyter-notebooks/f-4.4.2/aes_size_color_variadic_lines .ipynb ) .
155
+ See: [ example notebook] ( https://nbviewer.org/github/JetBrains/lets-plot-kotlin/blob/master/docs/examples/jupyter-notebooks/f-4.5.0/gggrid_theme .ipynb ) .
170
156
171
- ### Parameter ` "sizeUnit" ` in ` geomPie() `
172
- A way to specify size of the pie in units relative to the plot size.
157
+ - #### ` HCL ` and ` CIELAB ` Color Space for Hue Color Scale and Gradient Color Scales
173
158
174
- See: [ example notebook] ( https://nbviewer.jupyter.org/github/JetBrains/lets-plot-kotlin/blob/master/docs/examples/jupyter-notebooks/f-4.4.2/geom_pie_size_unit.ipynb ) .
175
-
176
- ### Stroke and Spacers in ` geomPie() `
177
159
<br >
178
- <img src =" https://raw.githubusercontent.com/JetBrains/lets-plot/master/docs/f-23c/images/pie_stroke.png " alt =" f-23c/images/pie_stroke.png " width =" 162 " height =" 150 " >
179
-
180
- See: [ example notebook] ( https://nbviewer.jupyter.org/github/JetBrains/lets-plot-kotlin/blob/master/docs/examples/jupyter-notebooks/f-4.4.2/geom_pie_stroke_and_spacers.ipynb ) .
181
-
182
-
183
- ### New ` themeVoid() ` , Geometries and Statistics
160
+ <img src =" https://raw.githubusercontent.com/JetBrains/lets-plot/master/docs/f-23e/images/hue_color_scale.png " alt =" f-23e/images/hue_color_scale.png " width =" 512 " height =" 341 " >
184
161
185
- - ` themeVoid() ` : [ example] ( https://nbviewer.org/github/JetBrains/lets-plot-kotlin/blob/master/docs/examples/jupyter-notebooks/f-4.4.2/theme_void.ipynb ) .
186
- - ` statECDF() ` : [ example] ( https://nbviewer.jupyter.org/github/JetBrains/lets-plot-kotlin/blob/master/docs/examples/jupyter-notebooks/f-4.4.2/stat_ecdf.ipynb ) .
187
- - ` geomFunction() ` : [ example] ( https://nbviewer.jupyter.org/github/JetBrains/lets-plot-kotlin/blob/master/docs/examples/jupyter-notebooks/f-4.4.2/geom_function.ipynb ) .
188
- - ` statSummary() ` : [ example] ( https://nbviewer.jupyter.org/github/JetBrains/lets-plot-kotlin/blob/master/docs/examples/jupyter-notebooks/f-4.4.2/stat_summary.ipynb ) .
189
- - ` statSummaryBin() ` : [ example] ( https://nbviewer.jupyter.org/github/JetBrains/lets-plot-kotlin/blob/master/docs/examples/jupyter-notebooks/f-4.4.2/stat_summary_bin.ipynb ) .
190
- - ` Stat.sum() ` statistic: [ example] ( https://nbviewer.jupyter.org/github/JetBrains/lets-plot-kotlin/blob/master/docs/examples/jupyter-notebooks/f-4.4.2/stat_sum.ipynb ) .
191
- - ` Stat.boxplotOutlier() ` statistic: [ example] ( https://nbviewer.jupyter.org/github/JetBrains/lets-plot-kotlin/blob/master/docs/examples/jupyter-notebooks/f-4.4.2/stat_boxplot_outlier.ipynb ) .
162
+ See: [ example notebook] ( https://nbviewer.org/github/JetBrains/lets-plot-kotlin/blob/master/docs/examples/jupyter-notebooks/f-4.5.0/color_space_update.ipynb ) .
192
163
164
+ - #### Scale Transformations: ` 'log2' ` and ` 'symlog' `
165
+ See: [ example notebook] ( https://nbviewer.org/github/JetBrains/lets-plot-kotlin/blob/master/docs/examples/jupyter-notebooks/f-4.5.0/new_scale_transformations.ipynb ) .
193
166
194
- ### Other improvements and fixes
195
- See [ CHANGELOG.md] ( https://github.com/JetBrains/lets-plot-kotlin/blob/master/CHANGELOG.md#440---2023-05-10 )
196
- for details.
167
+ - #### Plot Margins
168
+ See: [ example notebook] ( https://nbviewer.org/github/JetBrains/lets-plot-kotlin/blob/master/docs/examples/jupyter-notebooks/f-4.4.4/theme_plot_margin.ipynb ) .
197
169
170
+ - #### Dual Orientation in Geometries:
171
+ - ` geom_linerange() `
172
+ - ` geom_pointrange() `
173
+ - ` geom_errorbar() `
174
+ - ` geom_crossbar() `
175
+ - ` geom_ribbon() `
198
176
199
- <a id =" migrating4 " ></a >
200
- ## Migrating from v3 to v4
201
-
202
- For migration instructions see [ Migrating to 4.0.0] ( https://github.com/JetBrains/lets-plot-kotlin/blob/master/CHANGELOG.md#migrating-to-400 ) section in the CHANGELOG.
177
+ See: [ example notebook] ( https://nbviewer.org/github/JetBrains/lets-plot-kotlin/blob/master/docs/examples/jupyter-notebooks/f-4.4.4/horizontal_geoms.ipynb ) .
203
178
204
179
205
180
<a id =" change_log " ></a >
0 commit comments