Current section
Files
Jump to
Current section
Files
lib/mix/tasks/doc_examples/geom_line.ex
defmodule GGity.Docs.Geom.Line do
@moduledoc false
@doc false
@spec examples() :: iolist()
def examples do
[
"""
Examples.economics()
|> Plot.new(%{x: "date", y: "unemploy"})
|> Plot.geom_line()
""",
"""
Examples.economics_long()
|> Plot.new(%{x: "date", y: "value01", color: "variable"})
|> Plot.geom_line()
""",
"""
Examples.economics()
|> Plot.new(%{x: "date", y: "unemploy"})
|> Plot.geom_line(color: "red")
"""
]
end
end