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 `output` parameter for the library descriptor to control output types stored in notebook cells [[LPK-277](https://github.com/JetBrains/lets-plot-kotlin/issues/277)].
56
+
```
57
+
%use lets-plot(output="js, png")
58
+
```
59
+
60
+
Available output types:
61
+
-`js` - Classic Web output: HTML+JS
62
+
-`ktnb` - Kotlin Notebook Swing-based rendering
63
+
-`svg` - Static SVG output
64
+
-`png` - Static PNG output
65
+
66
+
Default: `"js, ktnb, svg"`
67
+
68
+
**Note:** Static images (SVG/PNG) are hidden when `js` or `ktnb` outputs are present, and only displayed in environments where JavaScript is not executed (e.g., GitHub).
69
+
70
+
This option can be helpful when a Kotlin Notebook file size becomes a problem. \
71
+
For example, when working with large datasets where plot interactivity is not a priority, storing only static output (SVG or PNG) can significantly reduce file size.
72
+
73
+
-[`CenteredPlotPanel`](https://github.com/JetBrains/lets-plot/blob/master/platf-awt/src/main/kotlin/org/jetbrains/letsPlot/awt/plot/component/CenteredPlotPanel.kt) helper class for displaying plots centered in Swing applications.
> Use `group=listOf(var1, var2, ...)` to group by multiple variables explicitly, \
67
86
> and `group=emptyList<Any>()` to disable any grouping.
68
87
69
-
- Missing values in `geomLine(), geomPath(), geomRibbon()`, and `geomArea()` create gaps in geometries instead of being interpolated over [[#818](https://github.com/JetBrains/lets-plot/issues/818)], [[#1406](https://github.com/JetBrains/lets-plot/issues/1406)].
88
+
- Missing values in `geomLine(), geomPath(), geomRibbon()`, and `geomArea()` create gaps in geometries instead of being interpolated over [[LPK-269](https://github.com/JetBrains/lets-plot-kotlin/issues/269)],[[#818](https://github.com/JetBrains/lets-plot/issues/818)], [[#1406](https://github.com/JetBrains/lets-plot/issues/1406)].
0 commit comments