Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
emmaccode authored Feb 21, 2023
1 parent 013fe73 commit e824f13
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 6 deletions.
16 changes: 11 additions & 5 deletions Manifest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ git-tree-sha1 = "9c209fb7536406834aa938fb149964b985de6c83"
uuid = "944b1d66-785c-5afd-91f1-9de20f533193"
version = "0.7.1"

[[deps.Contexts]]
deps = ["Random", "Toolips", "ToolipsSVG"]
path = "../Contexts"
uuid = "f9ffe950-3109-4ed3-b2df-b0b3d544a50d"
version = "0.1.0"

[[deps.Crayons]]
git-tree-sha1 = "249fe38abf76d48563e2f4556bebd215aa317e15"
uuid = "a8cc5b0e-0ffa-5ad4-8c14-923d3ee1735f"
Expand Down Expand Up @@ -113,9 +119,9 @@ version = "1.3.3"

[[deps.OpenSSL_jll]]
deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"]
git-tree-sha1 = "f6e9dba33f9f2c44e08a020b0caf6903be540004"
git-tree-sha1 = "9ff31d101d987eb9d66bd8b176ac7c277beccd09"
uuid = "458c3c95-2e84-50aa-8efc-19380b2a3a95"
version = "1.1.19+0"
version = "1.1.20+0"

[[deps.ParseNotEval]]
deps = ["Dates"]
Expand Down Expand Up @@ -191,7 +197,7 @@ version = "0.1.1"

[[deps.ToolipsSVG]]
deps = ["Toolips", "ToolipsSession"]
git-tree-sha1 = "963c63bd4c6578909f18c010de232bd063d82807"
git-tree-sha1 = "efad29d31508a1a61208e9285f870399948b304c"
repo-rev = "main"
repo-url = "https://github.com/ChifiSource/ToolipsSVG.jl"
uuid = "8ae86ec9-919d-4ece-9a6d-09b7d28dae11"
Expand All @@ -210,9 +216,9 @@ uuid = "3bb67fe8-82b1-5028-8e26-92a6c54297fa"
version = "0.9.11"

[[deps.URIs]]
git-tree-sha1 = "ac00576f90d8a259f2c9d823e91d1de3fd44d348"
git-tree-sha1 = "074f993b0ca030848b897beff716d93aca60f06a"
uuid = "5c2747f8-b7ea-4ff2-ba2e-563bfd36b1d4"
version = "1.4.1"
version = "1.4.2"

[[deps.UUIDs]]
deps = ["Random", "SHA"]
Expand Down
2 changes: 2 additions & 0 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ authors = ["emmac <emmettgb@gmail.com>"]
version = "0.1.0"

[deps]
Contexts = "f9ffe950-3109-4ed3-b2df-b0b3d544a50d"
Toolips = "a47e2ad8-fcf7-417c-9746-32b9bdf220bd"
ToolipsDefaults = "1710be6b-e895-498d-ba35-e3ff0dac7995"
ToolipsMarkdown = "33f7ff50-f2f2-41f0-8a96-482dce5c1514"
ToolipsSVG = "8ae86ec9-919d-4ece-9a6d-09b7d28dae11"
ToolipsSession = "2fe55384-55bc-4df3-9d59-c817d405cd05"
7 changes: 6 additions & 1 deletion src/Prrty.jl
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ include("context_plotting.jl")

scatter(x::Vector{<:Number}, y::Vector{<:Number}, width::Int64 = 500,
height::Int64 = 500, margin::Pair{Int64, Int64} = 0 => 0; divisions::Int64 = 4,
title = "", args ...) = begin
title::String = "", args ...) = begin
con::Context = Context(width, height, margin)
group!(con, "plotbase") do g::Group
axes!(con)
Expand All @@ -20,5 +20,10 @@ height::Int64 = 500, margin::Pair{Int64, Int64} = 0 => 0; divisions::Int64 = 4,
con
end

line(x::Vector{<:Number}, y::Vector{<:Number}, width::Int64 = 500,
height::Int64 = 500, margin::Pair{Int64, Int64} = 0 => 0; divisions::Int64 = 4,
title::String = "", args ...) = begin
con::Context = Context(width, height, margin)
end
include("Dashboards.jl")
end # module

0 comments on commit e824f13

Please sign in to comment.