mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-10-10 05:25:57 +08:00
Branch from setup on Kino guide (#678)
This commit is contained in:
parent
982a345ddc
commit
49a406b579
1 changed files with 10 additions and 0 deletions
|
@ -19,6 +19,8 @@ Mix.install([
|
||||||
alias VegaLite, as: Vl
|
alias VegaLite, as: Vl
|
||||||
```
|
```
|
||||||
|
|
||||||
|
<!-- livebook:{"branch_parent_index":0} -->
|
||||||
|
|
||||||
## Kino.VegaLite
|
## Kino.VegaLite
|
||||||
|
|
||||||
In the [Plotting with VegaLite](/explore/notebooks/intro-to-vega-lite) notebook we show
|
In the [Plotting with VegaLite](/explore/notebooks/intro-to-vega-lite) notebook we show
|
||||||
|
@ -84,6 +86,8 @@ Kino.VegaLite.periodically(widget, 25, 0, fn i ->
|
||||||
end)
|
end)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
<!-- livebook:{"branch_parent_index":0} -->
|
||||||
|
|
||||||
## Kino.ETS
|
## Kino.ETS
|
||||||
|
|
||||||
You can use `Kino.ETS.new/1` to render ETS tables and easily
|
You can use `Kino.ETS.new/1` to render ETS tables and easily
|
||||||
|
@ -112,6 +116,8 @@ end
|
||||||
Having the rows inserted, click on the "Refetch" icon in the table output
|
Having the rows inserted, click on the "Refetch" icon in the table output
|
||||||
above to see them.
|
above to see them.
|
||||||
|
|
||||||
|
<!-- livebook:{"branch_parent_index":0} -->
|
||||||
|
|
||||||
## Kino.DataTable
|
## Kino.DataTable
|
||||||
|
|
||||||
When it comes to tables, we are not limited to ETS! You can render
|
When it comes to tables, we are not limited to ETS! You can render
|
||||||
|
@ -149,6 +155,8 @@ Kino.DataTable.new(
|
||||||
We can sort by the number of reductions to identify the
|
We can sort by the number of reductions to identify the
|
||||||
most busy processes!
|
most busy processes!
|
||||||
|
|
||||||
|
<!-- livebook:{"branch_parent_index":0} -->
|
||||||
|
|
||||||
## Kino.Markdown
|
## Kino.Markdown
|
||||||
|
|
||||||
Sometimes you may want to render arbitrary content as rich-text,
|
Sometimes you may want to render arbitrary content as rich-text,
|
||||||
|
@ -176,6 +184,8 @@ A regular Markdown file.
|
||||||
|> Kino.Markdown.new()
|
|> Kino.Markdown.new()
|
||||||
````
|
````
|
||||||
|
|
||||||
|
<!-- livebook:{"branch_parent_index":0} -->
|
||||||
|
|
||||||
## Kino.render/1
|
## Kino.render/1
|
||||||
|
|
||||||
As we saw, Livebook automatically recognises widgets returned
|
As we saw, Livebook automatically recognises widgets returned
|
||||||
|
|
Loading…
Add table
Reference in a new issue