Skip to content

Commit

Permalink
clean up docs
Browse files Browse the repository at this point in the history
  • Loading branch information
pnezis committed Dec 22, 2023
1 parent eb10e4d commit 1eb3309
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/tucan.ex
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ defmodule Tucan do
"""
@doc section: :utilities
@spec new() :: VegaLite.t()
def new, do: VegaLite.new()
def new, do: Vl.new()

@doc """
Creates if needed a `VegaLite` plot and adds data to it.
Expand Down Expand Up @@ -3255,7 +3255,7 @@ defmodule Tucan do
Multiple annotations on the same plot
```tucan
VegaLite.new()
Tucan.new()
|> Tucan.annotate(15, 45, "Dennis", size: 25, font: "Courier New")
|> Tucan.annotate(40, 35, "José", size: 30, color: :purple, font_weight: :bold)
|> Tucan.annotate(20, 25, "Joe", size: 25, color: :red)
Expand Down Expand Up @@ -3360,7 +3360,7 @@ defmodule Tucan do
"""

true ->
vl = VegaLite.new()
vl = Vl.new()

layers =
for layer <- plot.spec["layer"] do
Expand Down

0 comments on commit 1eb3309

Please sign in to comment.