Skip to content

Commit 85c4bd5

Browse files
Add more examples to KDocs.
1 parent ab9dcdd commit 85c4bd5

File tree

6 files changed

+12
-2
lines changed

6 files changed

+12
-2
lines changed

plot-api/src/commonMain/kotlin/org/jetbrains/letsPlot/geom/geom_band.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ import org.jetbrains.letsPlot.tooltips.TooltipOptions
1717
*
1818
* - [us_unemployment.ipynb](https://nbviewer.org/github/JetBrains/lets-plot-docs/blob/master/source/kotlin_examples/demo/us_unemployment.ipynb)
1919
*
20+
* - [numeric_data_on_discrete_scale.ipynb](https://nbviewer.org/github/JetBrains/lets-plot-docs/blob/master/source/kotlin_examples/cookbook/numeric_data_on_discrete_scale.ipynb)
21+
*
2022
* @param data The data to be displayed in this layer. If null, the default, the data
2123
* is inherited from the plot data as specified in the call to [letsPlot][org.jetbrains.letsPlot.letsPlot].
2224
* @param stat default = `Stat.count()`. The statistical transformation to use on the data for this layer.

plot-api/src/commonMain/kotlin/org/jetbrains/letsPlot/geom/geom_bar.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ import org.jetbrains.letsPlot.tooltips.TooltipOptions
4545
*
4646
* - [bar_annotations.ipynb](https://nbviewer.org/github/JetBrains/lets-plot-docs/blob/master/source/kotlin_examples/cookbook/bar_annotations.ipynb)
4747
*
48+
* - [numeric_data_on_discrete_scale.ipynb](https://nbviewer.org/github/JetBrains/lets-plot-docs/blob/master/source/kotlin_examples/cookbook/numeric_data_on_discrete_scale.ipynb)
49+
*
4850
* - [error_bars.ipynb](https://nbviewer.org/github/JetBrains/lets-plot-docs/blob/master/source/kotlin_examples/cookbook/error_bars.ipynb)
4951
*
5052
* - [stat_count_2d.ipynb](https://nbviewer.org/github/JetBrains/lets-plot-docs/blob/master/source/kotlin_examples/cookbook/stat_count_2d.ipynb)

plot-api/src/commonMain/kotlin/org/jetbrains/letsPlot/geom/geom_label_repel.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import org.jetbrains.letsPlot.tooltips.TooltipOptions
1919
*
2020
* ## Examples
2121
*
22-
* - [ggrepel.ipynb](https://nbviewer.org/github/JetBrains/lets-plot-kotlin/blob/master/docs/examples/jupyter-notebooks/f-4.11.0/ggrepel.ipynb)
22+
* - [ggrepel.ipynb](https://nbviewer.org/github/JetBrains/lets-plot-docs/blob/master/source/kotlin_examples/cookbook/ggrepel.ipynb)
2323
*
2424
* @param data The data to be displayed in this layer. If null, the default, the data
2525
* is inherited from the plot data as specified in the call to [letsPlot][org.jetbrains.letsPlot.letsPlot].

plot-api/src/commonMain/kotlin/org/jetbrains/letsPlot/geom/geom_line.kt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ import org.jetbrains.letsPlot.tooltips.TooltipOptions
3131
*
3232
* - [lines.ipynb](https://nbviewer.org/github/JetBrains/lets-plot-docs/blob/master/source/kotlin_examples/cookbook/lines.ipynb)
3333
*
34+
* - [time_date_datetime.ipynb](https://nbviewer.org/github/JetBrains/lets-plot-docs/blob/master/source/kotlin_examples/cookbook/time_date_datetime.ipynb)
35+
*
36+
* - [trading_chart.ipynb](https://nbviewer.org/github/JetBrains/lets-plot-docs/blob/master/source/kotlin_examples/demo/trading_chart.ipynb)
37+
*
3438
* - [error_bars.ipynb](https://nbviewer.org/github/JetBrains/lets-plot-docs/blob/master/source/kotlin_examples/cookbook/error_bars.ipynb)
3539
*
3640
* @param data The data to be displayed in this layer. If null, the default, the data

plot-api/src/commonMain/kotlin/org/jetbrains/letsPlot/geom/geom_text_repel.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import org.jetbrains.letsPlot.tooltips.TooltipOptions
1818
*
1919
* ## Examples
2020
*
21-
* - [ggrepel.ipynb](https://nbviewer.org/github/JetBrains/lets-plot-kotlin/blob/master/docs/examples/jupyter-notebooks/f-4.11.0/ggrepel.ipynb)
21+
* - [ggrepel.ipynb](https://nbviewer.org/github/JetBrains/lets-plot-docs/blob/master/source/kotlin_examples/cookbook/ggrepel.ipynb)
2222
*
2323
* @param data The data to be displayed in this layer. If null, the default, the data
2424
* is inherited from the plot data as specified in the call to [letsPlot][org.jetbrains.letsPlot.letsPlot].

plot-api/src/commonMain/kotlin/org/jetbrains/letsPlot/scale/DateTime.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ import org.jetbrains.letsPlot.intern.checkScaleExpand
2323
*
2424
* - [formatting_axes_etc.ipynb](https://nbviewer.org/github/JetBrains/lets-plot-docs/blob/master/source/kotlin_examples/cookbook/formatting_axes_etc.ipynb)
2525
*
26+
* - [trading_chart.ipynb](https://nbviewer.org/github/JetBrains/lets-plot-docs/blob/master/source/kotlin_examples/demo/trading_chart.ipynb)
27+
*
2628
* @param name The name of the scale - used as the axis label or the legend title.
2729
* If null, the default, the name of the scale is taken from the first mapping used for that aesthetic.
2830
* @param breaks A list of data values specifying the positions of ticks,

0 commit comments

Comments
 (0)