This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
julia> using CairoMakie | |
[ Info: Precompiling CairoMakie [13f3f980-e62b-5c42-98c6-ff1f3baf88f0] | |
ERROR: LoadError: InitError: could not load library "/Users/patrick/.julia/artifacts/bf37190b92ac2fc3dd5e7073ff7ec7bbfd10343f/lib/libavdevice.58.13.100.dylib" | |
dlopen(/Users/patrick/.julia/artifacts/bf37190b92ac2fc3dd5e7073ff7ec7bbfd10343f/lib/libavdevice.58.13.100.dylib, 0x0001): Library not loaded: @rpath/libssl.1.1.dylib | |
Referenced from: <CB15E436-8C0A-3897-AEDE-C5935555F236> /Users/patrick/.julia/artifacts/bf37190b92ac2fc3dd5e7073ff7ec7bbfd10343f/lib/libavdevice.58.13.100.dylib | |
Reason: tried: '/Users/patrick/.julia/artifacts/bf37190b92ac2fc3dd5e7073ff7ec7bbfd10343f/lib/./libssl.1.1.dylib' (no such file), '/Users/patrick/.julia/artifacts/bf37190b92ac2fc3dd5e7073ff7ec7bbfd10343f/lib/./libssl.1.1.dylib' (no such file), '/Users/patrick/.julia/juliaup/julia-1.9.0+0.aarch64.apple.darwin14/lib/julia/libssl.1.1.dylib' (no such file), '/Users/patrick/.julia/juliaup/julia-1.9.0+0.aarch64.apple.darwin14/lib/julia/../lib |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module FieldDocstringsMWE | |
struct Foo | |
"a field" | |
a | |
"b field" | |
b | |
end | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# # Kwong book | |
function subtypetree(roottype::Type, level = 1, indent = 4) | |
level == 1 && println(roottype) | |
for s in subtypes(roottype) | |
println(join(fill(" ", level * indent)) * string(s)) | |
subtypetree(s, level + 1, indent) | |
end | |
end | |
# using Eyeball # doesn't work within atreplinit()? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using ModelingToolkit | |
@parameters t a | |
@variables x(t) f(t) | |
D = Differential(t) | |
eqs = [ | |
D(x) ~ -a*x + f | |
] | |
decay = name -> ODESystem(eqs, name=name) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### A Pluto.jl notebook ### | |
# v0.12.4 | |
using Markdown | |
using InteractiveUtils | |
# ╔═╡ 9f663af6-2112-11eb-0b66-3f380137db7b | |
begin | |
struct BWImage | |
data::Array{UInt8, 2} |