Skip to content

Commit

Permalink
release v0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
pnezis committed Jan 3, 2024
1 parent f0b0d4e commit 3d662c9
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 4 deletions.
19 changes: 18 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,26 @@
# Changelog

## [Unreleased]
## [v0.3.0](https://github.com/pnezis/tucan/tree/v0.3.0) (2024-01-03)

### Added

- `Nx` support, you can pass directly tensors as data series.

```tucan
x = Nx.linspace(-20, 20, n: 200)
y = Nx.pow(x, 2)
Tucan.lineplot([x: x, y: y], "x", "y", width: 400)
```

- Add `Tucan.imshow/2` for rendering pseudo-color images

```tucan
image = Nx.tensor([[1, 2, 3, 4], [5, 6, 7, 8], [9, 10, 11, 12]], type: {:f, 32})
Tucan.imshow(image, show_scale: true, width: 200, height: 150)
```

- Add `Tucan.errorbar/3` plot

```tucan
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ in which case you can call `Mix.install/2`:

```elixir
Mix.install([
{:tucan, "~> 0.2.1"},
{:tucan, "~> 0.3.0"},
{:kino_vega_lite, "~> 0.1.8"}
])
```
Expand All @@ -91,7 +91,7 @@ You can add the `:tucan` dependency to your `mix.exs`:
```elixir
def deps do
[
{:tucan, "~> 0.2.1"}
{:tucan, "~> 0.3.0"}
]
end
```
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule Tucan.MixProject do
use Mix.Project

@version "0.2.1"
@version "0.3.0"
@scm_url "https://github.com/pnezis/tucan"

def project do
Expand Down

0 comments on commit 3d662c9

Please sign in to comment.