Bump Kino in explore notebooks (#755)

This commit is contained in:
Jonatan Kłosko 2021-12-05 16:26:46 +01:00 committed by GitHub
parent d40a884f31
commit be3225fe3a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 9 additions and 9 deletions

View file

@ -200,7 +200,7 @@ install the [Kino](https://github.com/livebook-dev/kino) library:
```elixir
Mix.install([
{:kino, "~> 0.4.0"}
{:kino, "~> 0.4.1"}
])
```

View file

@ -51,7 +51,7 @@ instance, otherwise the command below will fail.
```elixir
Mix.install([
{:kino, "~> 0.4.0"}
{:kino, "~> 0.4.1"}
])
```

View file

@ -10,7 +10,7 @@ and interact with them.
```elixir
Mix.install([
{:kino, "~> 0.4.0"},
{:kino, "~> 0.4.1"},
{:vega_lite, "~> 0.1.2"}
])
```
@ -74,7 +74,7 @@ widget =
|> Vl.encode_field(:x, "x", type: :quantitative)
|> Vl.encode_field(:y, "y", type: :quantitative)
|> Kino.VegaLite.new()
|> tap(&Kino.render/1)
|> Kino.render()
# Add a callback to run every 25ms
Kino.VegaLite.periodically(widget, 25, 0, fn i ->
@ -226,7 +226,7 @@ widget =
|> Vl.encode_field(:x, "x", type: :quantitative)
|> Vl.encode_field(:y, "y", type: :quantitative)
|> Kino.VegaLite.new()
|> tap(&Kino.render/1)
|> Kino.render()
for i <- 1..300 do
point = %{x: i / 10, y: :math.sin(i / 10)}

View file

@ -11,7 +11,7 @@ directly, but it is required to render VegaLite:
```elixir
Mix.install([
{:vega_lite, "~> 0.1.2"},
{:kino, "~> 0.4.0"}
{:kino, "~> 0.4.1"}
])
```

View file

@ -17,7 +17,7 @@ the visualization and interactions.
```elixir
Mix.install([
{:kino, "~> 0.4.0"}
{:kino, "~> 0.4.1"}
])
```

View file

@ -14,7 +14,7 @@ so let's add `:vega_lite` and `:kino` for that.
```elixir
Mix.install([
{:vega_lite, "~> 0.1.2"},
{:kino, "~> 0.4.0"}
{:kino, "~> 0.4.1"}
])
```
@ -165,7 +165,7 @@ widget =
|> Vl.encode(:color, datum: [repeat: :layer], type: :nominal)
)
|> Kino.VegaLite.new()
|> tap(&Kino.render/1)
|> Kino.render()
Kino.VegaLite.periodically(widget, 200, 1, fn i ->
point =