Skip to content

Commit

Permalink
update CHANGELOG
Browse files Browse the repository at this point in the history
  • Loading branch information
pnezis committed Dec 3, 2023
1 parent e2ac593 commit a3f5fc0
Showing 1 changed file with 24 additions and 7 deletions.
31 changes: 24 additions & 7 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,30 @@

### Added

- Add `Tucan.errorbar/3` plot

```tucan
Tucan.errorbar(:barley, "yield", group_by: "variety")
|> Tucan.color_by("variety")
```

- Add `Tucan.Geometry.polyline/3` and `Tucan.Geometry.rectangle/4`

```tucan
Tucan.new()
|> Tucan.Geometry.rectangle({-2, 10}, {7, -3}, line_color: "green")
|> Tucan.Geometry.rectangle({-3.5, 0.1}, {8.1, -4.2},
fill_color: "pink",
fill_opacity: 0.3
)
|> Tucan.Geometry.polyline([{1, 1}, {2, 7}, {5, 3}],
closed: true,
fill_color: "green",
fill_opacity: 0.3
)
|> Tucan.Scale.set_xy_domain(-5, 11)
```

- Support setting plot's background color through `Tucan.View.set_background/2`
- Support setting view's background color through `Tucan.View.set_view_background/2`
- Add `Tucan.Axes.set_offset/3`
Expand All @@ -15,13 +39,6 @@ Tucan.scatter(:iris, "petal_width", "petal_length")
|> Tucan.Axes.set_orientation(:y, :right)
```

- Add `Tucan.errorbar/3` plot

```tucan
Tucan.errorbar(:barley, "yield", group_by: "variety")
|> Tucan.color_by("variety")
```

### Deprecated

- Deprecate `Tucan.circle/4` in favour of `Tucan.Geometry.circle/4`
Expand Down

0 comments on commit a3f5fc0

Please sign in to comment.