File tree Expand file tree Collapse file tree 2 files changed +18
-2
lines changed
plot-api/src/commonMain/kotlin/org/jetbrains/letsPlot/themes Expand file tree Collapse file tree 2 files changed +18
-2
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,9 @@ GeoTools [v 33.2](https://github.com/geotools/geotools/releases/tag/33.2)
88### Changed
99
1010- Plot Theme:
11-
11+
12+ - ` themeGray() ` as an alias for ` themeGrey() ` .
13+
1214 - New ` theme ` functions for setting legend justification: ` legendJustificationTop() ` , ` legendJustificationRight() ` , <br >
1315 ` legendJustificationBottom() ` , and ` legendJustificationLeft() ` .
1416
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ import org.jetbrains.letsPlot.intern.OptionsMap
1212
1313
1414/* *
15- * Grey background and white gridlines.
15+ * Grey background and white gridlines. The same as themeGray().
1616 *
1717 * ## Examples
1818 *
@@ -25,6 +25,20 @@ fun themeGrey() = OptionsMap(
2525)
2626
2727
28+ /* *
29+ * Gray background and white gridlines. The same as themeGrey().
30+ *
31+ * ## Examples
32+ *
33+ * - [themes.ipynb](https://nbviewer.org/github/JetBrains/lets-plot-docs/blob/master/source/kotlin_examples/cookbook/complete_themes.ipynb)
34+ */
35+ fun themeGray () = OptionsMap (
36+ kind = Option .Plot .THEME ,
37+ name = Option .Theme .Name .R_GRAY ,
38+ emptyMap()
39+ )
40+
41+
2842/* *
2943 * Grey lines on white background with dark grey plot border.
3044 *
You can’t perform that action at this time.
0 commit comments