You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- New `inheritColor()` option in annotations' configuration (see example notebooks above)
47
+
48
+
-`waterfallPlot()` - support for combining waterfall bars with other geometry layers [[#1344](https://github.com/JetBrains/lets-plot/issues/1344)].
- New `axisTextSpacing`, `axisTextSpacingX`, and `axisTextSpacingY` parameters in `theme()` to control spacing between axis ticks and labels.
55
+
- See new [Plot Layout Diagrams](https://lets-plot.org/kotlin/presentation-options.html#plot-layout-diagrams) showing various layout options and their effects on plot appearance.
56
+
57
+
- More variants to specify a color by name:
58
+
59
+
- all HTML/CSS colors;
60
+
- various naming styles, e.g., `"dark-gray"`, `"darkgrey"`, `"dark_grey"`, `"DARKGRAY"`, etc.;
61
+
- grayscale colors from `"gray0"` (black) to `"gray100"` (white);
62
+
63
+
See [the complete list of named colors](https://lets-plot.org/kotlin/named-colors.html).
64
+
65
+
-`sizeUnit` parameter in `geomPoint()`, `geomText/Label()` and `geomPie()` accepts two new values: `"min"` and `"max"`[[#260](https://github.com/JetBrains/lets-plot/issues/260)].
66
+
67
+
`"min"` sets the size unit to the smaller of the unit steps along the x and y axes, while `"max"` sets it to the larger. <br>
68
+
This allows for more flexible relative sizing of points, pies and text in plots.
Continuous data when used with discrete positional scales is no longer transformed to discrete data. <br>
78
+
Instead, it remains continuous, allowing for precise positioning of continuous elements relative to discrete ones. <br>
79
+
This resolves issues where combining discrete and continuous data in the same plot was difficult or impossible: [[#1279](https://github.com/JetBrains/lets-plot/issues/1279)].
> New way of handling continuous data on discrete scales could potentially break existing plots.
85
+
> If you want to restore a broken plot to its original form, you can use the [`asDiscrete()`](https://lets-plot.org/kotlin/as-discrete.html) function to annotate continuous data as discrete.
86
+
87
+
-[**BREAKING**]`geomBoxplot()`: when y-oriented, it now uses aesthetics `xlower`/`xmiddle`/`xupper` instead of `lower`/`middle`/`upper`[[#1319](https://github.com/JetBrains/lets-plot/issues/1319)].
88
+
-[**BREAKING**]`waterfallPlot()`: special "flow_type" value for `label=elementText(color=...)` replaced with "inherit". See `label` in the [documentation](https://lets-plot.org/kotlin/api-reference/-lets--plot--kotlin/org.jetbrains.letsPlot.bistro.waterfall/waterfall-plot.html).
89
+
-[**DEPRECATED**] The `positionDodgeV()` function and the `"dodgev"` value for the `position` parameter are deprecated and will be removed in future releases.
90
+
- Plot layout: reduced margins and spacing for title, caption, axes, and legend.
91
+
- Updated RGB values for `"lightgray"` and `"green"`. To restore the previous colors, use `"gray75"` and `"lime"`, respectively.
92
+
-`waterfallPlot()`: the appearance of the legend has been improved.
93
+
-`geomViolin()`: tooltips are not shown in the centerline of the violin if `showHalf != 0`.
94
+
-`geomCrossbar()`: the midline is not shown in the legend when `fatten` is set to 0, or when there is no mapping for it.
95
+
-`geomPointrange()`: the midpoint will not be drawn if the `y` aesthetic is set to `null`.
96
+
-`geomBand()`: the `alpha` aesthetic only affects the inner part of the geometry, as in `geomRect()`.
97
+
-`geomBand()`: show tooltip over the whole band, not just at the edges.
98
+
99
+
100
+
### Fixed
101
+
102
+
- AWT: plot prevents wheel events from bubbling up to the parent component.
103
+
-`geomBoxplot`: unable to draw a y-oriented plot with `stat = Stat.identity`[[#1319](https://github.com/JetBrains/lets-plot/issues/1319)].
104
+
- Can't add a layer which uses continuous data to a plot where other layers use discrete input [[#1323](https://github.com/JetBrains/lets-plot/issues/1323)].
105
+
- Multiline legend labels were not vertically centered with their keys [[#1331](https://github.com/JetBrains/lets-plot/issues/1331)].
106
+
- Poor alignment in legend between columns [[#1332](https://github.com/JetBrains/lets-plot/issues/1332)].
107
+
- Ordered data was re-ordered by `geomBoxplot`[[#1342](https://github.com/JetBrains/lets-plot/issues/1342)].
See [Date-time](https://nbviewer.org/github/JetBrains/lets-plot-kotlin/blob/master/docs/examples/jupyter-notebooks/f-4.11.0/time_date_datetime.ipynb) cookbook.
See examples: [multiline axis labels](https://nbviewer.org/github/JetBrains/lets-plot-kotlin/blob/master/docs/examples/jupyter-notebooks/f-4.10.0/multiline_axis_labels.ipynb),
See [example notebook](https://nbviewer.org/github/JetBrains/lets-plot-kotlin/blob/master/docs/examples/jupyter-notebooks/f-4.10.0/magnifier_inset.ipynb).
<imgsrc="https://raw.githubusercontent.com/JetBrains/lets-plot-kotlin/master/docs/examples/jupyter-notebooks/f-4.10.0/ggbunch_kotlin_isl.png"alt="Map of Kotlin Isl."width="400"height="254">
162
+
-#### `waterfallPlot()` Chart
160
163
161
-
See [example notebook](https://nbviewer.org/github/JetBrains/lets-plot-kotlin/blob/master/docs/examples/jupyter-notebooks/f-4.10.0/ggbunch_kotlin_isl.ipynb).
164
+
- Annotations support via `relativeLabels` and `absoluteLabels` parameters.
See [example notebook](https://nbviewer.org/github/JetBrains/lets-plot-kotlin/blob/master/docs/examples/jupyter-notebooks/f-4.10.0/geom_pie_params.ipynb).
> New way of handling continuous data on discrete scales could potentially break existing plots.
187
+
> If you want to restore a broken plot to its original form, you can use the [`asDiscrete()`](https://lets-plot.org/kotlin/as-discrete.html) function to annotate continuous data as discrete.
188
+
189
+
190
+
-#### Plot Layout
191
+
The default plot layout has been improved to better accommodate axis labels and titles. <br>
192
+
Also, new `theme()` options `axisTextSpacing`, `axisTextSpacingX`, and `axisTextSpacingY` control spacing between axis ticks and labels.
See new [Plot Layout Diagrams](https://lets-plot.org/kotlin/presentation-options.html#plot-layout-diagrams) showing various layout options and their effects on plot appearance.
@@ -84,8 +84,8 @@ You can include all necessary dependencies into your notebook using the followin
84
84
When declaring additional GeoTools dependencies, check the compatible version in the [CHANGELOG.md](https://github.com/JetBrains/lets-plot-kotlin/blob/master/CHANGELOG.md):
0 commit comments