|
43 | 43 | - [Saving plot to file](#export)
|
44 | 44 | - [GeoTools support](#geotools)
|
45 | 45 |
|
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) |
48 | 47 | - [Migrating from v3 to v4](#migrating4)
|
49 | 48 |
|
50 | 49 | - [Change log](#change_log)
|
@@ -266,72 +265,44 @@ individual `Geometry` and `ReferencedEnvelope` objects.
|
266 | 265 | Learn more: [GeoTools Support](https://github.com/JetBrains/lets-plot-kotlin/blob/master/docs/geotools.md).
|
267 | 266 |
|
268 | 267 |
|
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 |
| - |
279 | 268 | <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 |
285 | 270 |
|
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 |
301 | 272 |
|
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"> |
303 | 277 |
|
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). |
311 | 279 |
|
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"> |
313 | 283 |
|
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). |
315 | 285 |
|
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"> |
317 | 289 |
|
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). |
319 | 291 |
|
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"> |
321 | 296 |
|
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). |
330 | 298 |
|
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()` |
333 | 300 |
|
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 | + |
335 | 306 |
|
336 | 307 | - ### Other improvements and fixes
|
337 | 308 | See [CHANGELOG.md](https://github.com/JetBrains/lets-plot-kotlin/blob/master/CHANGELOG.md#410---2022-09-30)
|
|
0 commit comments