|
44 | 44 | - [Saving plot to file](#export)
|
45 | 45 | - [GeoTools support](#geotools)
|
46 | 46 |
|
47 |
| -- [What is new in 3.1.0](#new) |
| 47 | +- [What is new in 3.2.0](#new) |
48 | 48 | - [Change log](#change_log)
|
49 | 49 | - [License](#license)
|
50 | 50 |
|
@@ -246,47 +246,56 @@ Learn more: [GeoTools Support](https://github.com/JetBrains/lets-plot-kotlin/blo
|
246 | 246 |
|
247 | 247 | <a id="new"></a>
|
248 | 248 |
|
249 |
| -## What is new in 3.1.0 |
| 249 | +## What is new in 3.2.0 |
250 | 250 |
|
251 |
| -- Added support for `coordFlip()`. |
| 251 | +- ### Geometries |
252 | 252 |
|
253 |
| - See: [example notebook](https://nbviewer.jupyter.org/github/JetBrains/lets-plot-kotlin/blob/master/docs/examples/jupyter-notebooks/coord_flip.ipynb) |
254 |
| - . |
| 253 | + - `geomViolin()` |
255 | 254 |
|
256 |
| -- Improved plot appearance and better `theme` support: |
| 255 | + See: [example notebook](https://nbviewer.jupyter.org/github/JetBrains/lets-plot-kotlin/blob/master/docs/examples/jupyter-notebooks/geom_violin.ipynb). |
257 | 256 |
|
258 |
| - - Bigger fonts across the board; |
259 |
| - - Gridlines; |
260 |
| - - 4 themes from ggplot2 (R) library: `themeGrey(), themeLight(), themeClassic(), themeMinimal()`; |
261 |
| - - Our designer theme: `themeMinimal2()` (used by default); |
262 |
| - - `themeNone()` for the case you want to design another theme; |
263 |
| - - A lot more parameters in the `theme()` function, also helpers: `elementLine()`, `elementRect()`, `elementText()`. |
| 257 | + - `geomDotplot()` |
264 | 258 |
|
265 |
| - See: [example notebook](https://nbviewer.jupyter.org/github/JetBrains/lets-plot-kotlin/blob/master/docs/examples/jupyter-notebooks/themes.ipynb) |
266 |
| - . |
| 259 | + See: [example notebook](https://nbviewer.jupyter.org/github/JetBrains/lets-plot-kotlin/blob/master/docs/examples/jupyter-notebooks/geom_dotplot.ipynb). |
267 | 260 |
|
268 |
| -> Note: fonts size, family and face still can not be configured. |
| 261 | + - `geomYDotplot()` |
269 | 262 |
|
270 |
| -- Improved Date-time formatting support: |
| 263 | + See: [example notebook](https://nbviewer.jupyter.org/github/JetBrains/lets-plot-kotlin/blob/master/docs/examples/jupyter-notebooks/geom_dotplot.ipynb). |
271 | 264 |
|
272 |
| - - tooltip format() should understand date-time format |
273 |
| - pattern [[#387](https://github.com/JetBrains/lets-plot/issues/387)]; |
274 |
| - - scaleXDatetime should apply date-time formatting to the |
275 |
| - breaks [[#392](https://github.com/JetBrains/lets-plot/issues/392)]. |
| 265 | +- ### Labels and Legends |
276 | 266 |
|
277 |
| - See `Out[7, 8, 10]` in |
278 |
| - the [example notebook](https://nbviewer.jupyter.org/github/JetBrains/lets-plot-kotlin/blob/master/docs/examples/jupyter-notebooks/formatting_axes_etc.ipynb) |
279 |
| - . |
| 267 | + - Plot **subtitle** and **caption** are now supported. |
280 | 268 |
|
281 |
| -- `CorrPlot()` function now also accepts pre-computed correlation coefficients. |
| 269 | + You can use parameter `subtitle`in `ggtitle()` and `labs()` to add a subtitle below the plot' title, and |
| 270 | + parameter `caption` in `labs()` to add a caption below plot. |
282 | 271 |
|
283 |
| -- Kotlin/JS IR: `xxx.klib` artifacts are now available. |
| 272 | + - Multi-line labels. |
284 | 273 |
|
285 |
| - See: [sample Kotlin/JS IR app](https://github.com/alshan/lets-plot-mini-apps/tree/main/js-ir-frontend-app) |
| 274 | + The 'newline' character (`\n`) now works as `line break` in plot title, subtitle and caption, in legend's title and in tooltips. |
| 275 | + |
| 276 | + See: [example notebook](https://nbviewer.jupyter.org/github/JetBrains/lets-plot-kotlin/blob/master/docs/examples/jupyter-notebooks/title_subtitle_caption.ipynb). |
| 277 | + |
| 278 | +- ### Tooltips |
| 279 | + |
| 280 | +<img src="https://raw.githubusercontent.com/JetBrains/lets-plot/master/docs/f-22a/images/tooltip.png" alt="f-22a/images/tooltip.png" width="362" height="310"> |
| 281 | + |
| 282 | +- Improved appearance |
| 283 | +- Automatic word wrap makes long text values look better |
| 284 | +- Tooltip title |
| 285 | + |
| 286 | + You can use new method `title()` in the [Tooltip castomization API](https://github.com/JetBrains/lets-plot-kotlin/blob/master/docs/tooltips.md) to add a title to tooltip. |
| 287 | + |
| 288 | +See: [example notebook](https://nbviewer.jupyter.org/github/JetBrains/lets-plot-kotlin/blob/master/docs/examples/jupyter-notebooks/tooltip_title.ipynb). |
| 289 | + |
| 290 | +- ### Facets |
| 291 | + |
| 292 | + "Free" scales are now supported on faceted plots. |
| 293 | + |
| 294 | + See: [example notebook](https://nbviewer.jupyter.org/github/JetBrains/lets-plot-kotlin/blob/master/docs/examples/jupyter-notebooks/facets_free_scales.ipynb). |
286 | 295 |
|
287 | 296 |
|
288 | 297 | - Other improvements and fixes -
|
289 |
| - see [CHANGELOG.md](https://github.com/JetBrains/lets-plot-kotlin/blob/master/CHANGELOG.md#310---2021-11-05) |
| 298 | + see [CHANGELOG.md](https://github.com/JetBrains/lets-plot-kotlin/blob/master/CHANGELOG.md#310---2022-03-29) |
290 | 299 | for details.
|
291 | 300 |
|
292 | 301 | <a id="change_log"></a>
|
|
0 commit comments