Skip to content

Commit

Permalink
edit weakdeps
Browse files Browse the repository at this point in the history
  • Loading branch information
joannajzou committed Apr 18, 2024
1 parent 161eccf commit e6f68a6
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
14 changes: 7 additions & 7 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,26 +14,26 @@ Molly = "aa0f7f06-fcc0-5ec4-a7f3-a573f33f9c4c"
Polynomials = "f27b6e38-b328-58d1-80ce-0feddd5e7a45"
PotentialLearning = "82b0a93c-c2e3-44bc-a418-f0f89b0ae5c2"
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
SpecialFunctions = "276daf66-3868-5448-9aa4-cd146d93841b"
SpecialPolynomials = "a25cea48-d430-424a-8ee7-0d3ad3742e9e"
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
StatsBase = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91"
Unitful = "1986cc42-f94f-5a68-af5c-568840ba703d"
UnitfulAtomic = "a7773ee8-282e-5fa2-be4e-bd808c38a91a"

[weakdeps]
CairoMakie = "13f3f980-e62b-5c42-98c6-ff1f3baf88f0"

[extensions]
CairnPlots = "CairoMakie"

[compat]
AtomsBase = "0.3"
Distributions = "0.25"
Molly = "0.18.3"
julia = "1.9"

[weakdeps]
Makie = "ee78f7c6-11fb-53f2-987a-cfe4a2b5a57a"
CairoMakie = "13f3f980-e62b-5c42-98c6-ff1f3baf88f0"

[extensions]
CairnPlots = ["Makie", "CairoMakie"]

[extras]
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

Expand Down
5 changes: 4 additions & 1 deletion ext/CairnPlots.jl
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,12 @@ Notes: Julia package extension with plotting functions complementing Cairn.jl.
module CairnPlots

using Cairn
using Makie
using CairoMakie

# TODO: remove this once everything works!
__init__() = Base.get_extension(Cairn, :CairnPlots) # println("Extension was loaded!")


include("makie/plot_surface.jl")
include("makie/plot_contours.jl")
include("makie/plot_md.jl")
Expand Down

0 comments on commit e6f68a6

Please sign in to comment.