Created
May 8, 2024 22:35
-
-
Save jondea/64ffe20a5557553ff35099335cc01a61 to your computer and use it in GitHub Desktop.
PlutoPlotly examples
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.19.41 | |
using Markdown | |
using InteractiveUtils | |
# This Pluto notebook uses @bind for interactivity. When running this notebook outside of Pluto, the following 'mock version' of @bind gives bound variables a default value (instead of an error). | |
macro bind(def, element) | |
quote | |
local iv = try Base.loaded_modules[Base.PkgId(Base.UUID("6e696c72-6542-2067-7265-42206c756150"), "AbstractPlutoDingetjes")].Bonds.initial_value catch; b -> missing; end | |
local el = $(esc(element)) | |
global $(esc(def)) = Core.applicable(Base.get, el) ? Base.get(el) : iv(el) | |
el | |
end | |
end | |
# ╔═╡ bdfb156e-0cbb-11ef-37ae-837118de33d6 | |
using PlutoPlotly | |
# ╔═╡ db9c7e7f-532a-42c9-a2ea-ce25bcfdb1ed | |
using DataFrames, DataFramesMeta, CSV | |
# ╔═╡ e8eb23f0-b803-4f42-b8f0-edc56d9246e1 | |
using LinearAlgebra, Statistics | |
# ╔═╡ 6ed4dd43-fce0-466b-a5bb-0edbe5990538 | |
using StatsBase | |
# ╔═╡ 10dbb116-7dfd-4d58-bc54-305c6e6972f4 | |
using FilePaths | |
# ╔═╡ 1c9b5991-81d7-4487-bc7a-046241cb687c | |
using PlutoUI | |
# ╔═╡ 9098aeea-1a44-4dd3-a658-65f6a619a0ae | |
md"# PlutoPlotly examples" | |
# ╔═╡ dc493318-9a2f-4820-bf35-b85953f94f56 | |
md"## Click callback" | |
# ╔═╡ 88b5d431-fd0f-4f8a-a758-bd14b61cb611 | |
hover_text(n, color, animal) = "$n $color $animal" | |
# ╔═╡ 073f9dcb-a44a-4fcb-901e-27a60b2d69e3 | |
md"## Visible callback" | |
# ╔═╡ 213ce5fd-3e4d-43bf-afd1-1ad47d61e6f9 | |
md"# Appendix" | |
# ╔═╡ 749ca1c8-1068-4183-8455-e7a33eb57b94 | |
md"## Data Loading" | |
# ╔═╡ b7980f43-b629-4f75-ad62-a0cb99a51f54 | |
colors=["orange","blue","green"] | |
# ╔═╡ 7a819f67-06a9-49bf-bcdf-289ed332271d | |
animals=["fox","deer","chicken","cat","dog","guinea pig"] | |
# ╔═╡ ac24f2e2-8d34-4a9c-8f0c-c2a48651bdd1 | |
N = 100 | |
# ╔═╡ 0d453cc8-52f0-46f7-9f31-9a270c41d4d9 | |
df = DataFrame(x=rand(N), y=rand(N), color=rand(colors,N), animal=rand(animals,N)) | |
# ╔═╡ d4444576-9862-498e-9bd6-c6603aeffb35 | |
md"## Plot utils" | |
# ╔═╡ e9f5d681-c1f7-486f-934d-ad59f17e9d39 | |
function add_click_listener!(p) | |
add_plotly_listener!(p, "plotly_click", """ | |
(e) => { | |
let dt = e.points[0] | |
PLOT.value = {x:dt.x, y:dt.y, text:dt.text, n:dt.pointNumber+1} | |
PLOT.dispatchEvent(new CustomEvent('input')) | |
}""") | |
return p | |
end | |
# ╔═╡ b1961e35-6c1e-4efb-b286-1e2d2070a471 | |
@bind clicked_animal let | |
p = plot(df.x, df.y; mode="markers+color", name = "animals", | |
text=hover_text.(1:N, df.color, df.animal), marker_color=df.color, | |
showlegend=true) | |
add_click_listener!(p) | |
end | |
# ╔═╡ 9a84509f-43ac-49f7-9f84-1aa4a9e9b192 | |
ismissing(clicked_animal) || isnothing(clicked_animal) ? nothing : df[clicked_animal["n"],:] | |
# ╔═╡ 3519503a-ac2e-4345-8e06-34b2b0893589 | |
clicked_animal | |
# ╔═╡ d26cbccb-83e5-4568-8d8f-3f83d3b96536 | |
function add_visible_listener!(p) | |
add_plotly_listener!(p, "plotly_relayout", """ | |
e => { | |
let layout = PLOT.layout | |
let asd = {xaxis: layout.xaxis.range, yaxis: layout.yaxis.range} | |
PLOT.value = asd | |
PLOT.dispatchEvent(new CustomEvent('input')) | |
} | |
""") | |
return p | |
end | |
# ╔═╡ 0ac42949-73c8-4dc7-89c3-d81cd4498e87 | |
@bind limits let | |
p = plot(df.x, df.y; mode="markers+color", name = "animals", | |
text=hover_text.(1:N, df.color, df.animal), marker_color=df.color, | |
showlegend=true) | |
add_visible_listener!(p) | |
end | |
# ╔═╡ 2522a9d7-7917-4475-a536-9e154490727d | |
visible_points = let | |
if ismissing(limits) | |
df | |
else | |
xmin, xmax = limits["xaxis"] | |
ymin, ymax = limits["yaxis"] | |
@rsubset df xmin <= :x <= xmax && ymin <= :y <= ymax | |
end | |
end | |
# ╔═╡ 78d6d039-675d-4d51-af6b-bf85a1a7cdb8 | |
md"## Dependencies" | |
# ╔═╡ 810bb127-e91a-42dc-87fc-e2a669bc669f | |
PlutoUI.TableOfContents() | |
# ╔═╡ 00000000-0000-0000-0000-000000000001 | |
PLUTO_PROJECT_TOML_CONTENTS = """ | |
[deps] | |
CSV = "336ed68f-0bac-5ca0-87d4-7b16caf5d00b" | |
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0" | |
DataFramesMeta = "1313f7d8-7da2-5740-9ea0-a2ca25f37964" | |
FilePaths = "8fc22ac5-c921-52a6-82fd-178b2807b824" | |
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" | |
PlutoPlotly = "8e989ff0-3d88-8e9f-f020-2b208a939ff0" | |
PlutoUI = "7f904dfe-b85e-4ff6-b463-dae2292396a8" | |
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2" | |
StatsBase = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91" | |
[compat] | |
CSV = "~0.10.14" | |
DataFrames = "~1.6.1" | |
DataFramesMeta = "~0.15.2" | |
FilePaths = "~0.8.3" | |
PlutoPlotly = "~0.4.6" | |
PlutoUI = "~0.7.59" | |
StatsBase = "~0.34.3" | |
""" | |
# ╔═╡ 00000000-0000-0000-0000-000000000002 | |
PLUTO_MANIFEST_TOML_CONTENTS = """ | |
# This file is machine-generated - editing it directly is not advised | |
julia_version = "1.10.0" | |
manifest_format = "2.0" | |
project_hash = "f29295328bb3d9e0c76ccaf7f9b81dfc5ad0999a" | |
[[deps.AbstractPlutoDingetjes]] | |
deps = ["Pkg"] | |
git-tree-sha1 = "6e1d2a35f2f90a4bc7c2ed98079b2ba09c35b83a" | |
uuid = "6e696c72-6542-2067-7265-42206c756150" | |
version = "1.3.2" | |
[[deps.ArgTools]] | |
uuid = "0dad84c5-d112-42e6-8d28-ef12dabb789f" | |
version = "1.1.1" | |
[[deps.Artifacts]] | |
uuid = "56f22d72-fd6d-98f1-02f0-08ddc0907c33" | |
[[deps.Base64]] | |
uuid = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f" | |
[[deps.BaseDirs]] | |
git-tree-sha1 = "3e93fcd95fe8db4704e98dbda14453a0bfc6f6c3" | |
uuid = "18cc8868-cbac-4acf-b575-c8ff214dc66f" | |
version = "1.2.3" | |
[[deps.CSV]] | |
deps = ["CodecZlib", "Dates", "FilePathsBase", "InlineStrings", "Mmap", "Parsers", "PooledArrays", "PrecompileTools", "SentinelArrays", "Tables", "Unicode", "WeakRefStrings", "WorkerUtilities"] | |
git-tree-sha1 = "6c834533dc1fabd820c1db03c839bf97e45a3fab" | |
uuid = "336ed68f-0bac-5ca0-87d4-7b16caf5d00b" | |
version = "0.10.14" | |
[[deps.Chain]] | |
git-tree-sha1 = "9ae9be75ad8ad9d26395bf625dea9beac6d519f1" | |
uuid = "8be319e6-bccf-4806-a6f7-6fae938471bc" | |
version = "0.6.0" | |
[[deps.CodecZlib]] | |
deps = ["TranscodingStreams", "Zlib_jll"] | |
git-tree-sha1 = "59939d8a997469ee05c4b4944560a820f9ba0d73" | |
uuid = "944b1d66-785c-5afd-91f1-9de20f533193" | |
version = "0.7.4" | |
[[deps.ColorSchemes]] | |
deps = ["ColorTypes", "ColorVectorSpace", "Colors", "FixedPointNumbers", "PrecompileTools", "Random"] | |
git-tree-sha1 = "67c1f244b991cad9b0aa4b7540fb758c2488b129" | |
uuid = "35d6a980-a343-548e-a6ea-1d62b119f2f4" | |
version = "3.24.0" | |
[[deps.ColorTypes]] | |
deps = ["FixedPointNumbers", "Random"] | |
git-tree-sha1 = "b10d0b65641d57b8b4d5e234446582de5047050d" | |
uuid = "3da002f7-5984-5a60-b8a6-cbb66c0b333f" | |
version = "0.11.5" | |
[[deps.ColorVectorSpace]] | |
deps = ["ColorTypes", "FixedPointNumbers", "LinearAlgebra", "Requires", "Statistics", "TensorCore"] | |
git-tree-sha1 = "a1f44953f2382ebb937d60dafbe2deea4bd23249" | |
uuid = "c3611d14-8923-5661-9e6a-0046d554d3a4" | |
version = "0.10.0" | |
[deps.ColorVectorSpace.extensions] | |
SpecialFunctionsExt = "SpecialFunctions" | |
[deps.ColorVectorSpace.weakdeps] | |
SpecialFunctions = "276daf66-3868-5448-9aa4-cd146d93841b" | |
[[deps.Colors]] | |
deps = ["ColorTypes", "FixedPointNumbers", "Reexport"] | |
git-tree-sha1 = "fc08e5930ee9a4e03f84bfb5211cb54e7769758a" | |
uuid = "5ae59095-9a9b-59fe-a467-6f913c188581" | |
version = "0.12.10" | |
[[deps.Compat]] | |
deps = ["TOML", "UUIDs"] | |
git-tree-sha1 = "b1c55339b7c6c350ee89f2c1604299660525b248" | |
uuid = "34da2185-b29b-5c13-b0c7-acf172513d20" | |
version = "4.15.0" | |
weakdeps = ["Dates", "LinearAlgebra"] | |
[deps.Compat.extensions] | |
CompatLinearAlgebraExt = "LinearAlgebra" | |
[[deps.CompilerSupportLibraries_jll]] | |
deps = ["Artifacts", "Libdl"] | |
uuid = "e66e0078-7015-5450-92f7-15fbd957f2ae" | |
version = "1.0.5+1" | |
[[deps.Crayons]] | |
git-tree-sha1 = "249fe38abf76d48563e2f4556bebd215aa317e15" | |
uuid = "a8cc5b0e-0ffa-5ad4-8c14-923d3ee1735f" | |
version = "4.1.1" | |
[[deps.DataAPI]] | |
git-tree-sha1 = "abe83f3a2f1b857aac70ef8b269080af17764bbe" | |
uuid = "9a962f9c-6df0-11e9-0e5d-c546b8b5ee8a" | |
version = "1.16.0" | |
[[deps.DataFrames]] | |
deps = ["Compat", "DataAPI", "DataStructures", "Future", "InlineStrings", "InvertedIndices", "IteratorInterfaceExtensions", "LinearAlgebra", "Markdown", "Missings", "PooledArrays", "PrecompileTools", "PrettyTables", "Printf", "REPL", "Random", "Reexport", "SentinelArrays", "SortingAlgorithms", "Statistics", "TableTraits", "Tables", "Unicode"] | |
git-tree-sha1 = "04c738083f29f86e62c8afc341f0967d8717bdb8" | |
uuid = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0" | |
version = "1.6.1" | |
[[deps.DataFramesMeta]] | |
deps = ["Chain", "DataFrames", "MacroTools", "OrderedCollections", "Reexport", "TableMetadataTools"] | |
git-tree-sha1 = "f912a2126c99ff9783273efa38b0181bfbf9d322" | |
uuid = "1313f7d8-7da2-5740-9ea0-a2ca25f37964" | |
version = "0.15.2" | |
[[deps.DataStructures]] | |
deps = ["Compat", "InteractiveUtils", "OrderedCollections"] | |
git-tree-sha1 = "1d0a14036acb104d9e89698bd408f63ab58cdc82" | |
uuid = "864edb3b-99cc-5e75-8d2d-829cb0a9cfe8" | |
version = "0.18.20" | |
[[deps.DataValueInterfaces]] | |
git-tree-sha1 = "bfc1187b79289637fa0ef6d4436ebdfe6905cbd6" | |
uuid = "e2d170a0-9d28-54be-80f0-106bbe20a464" | |
version = "1.0.0" | |
[[deps.Dates]] | |
deps = ["Printf"] | |
uuid = "ade2ca70-3891-5945-98fb-dc099432e06a" | |
[[deps.DelimitedFiles]] | |
deps = ["Mmap"] | |
git-tree-sha1 = "9e2f36d3c96a820c678f2f1f1782582fcf685bae" | |
uuid = "8bb1440f-4735-579b-a4ab-409b98df4dab" | |
version = "1.9.1" | |
[[deps.DocStringExtensions]] | |
deps = ["LibGit2"] | |
git-tree-sha1 = "2fb1e02f2b635d0845df5d7c167fec4dd739b00d" | |
uuid = "ffbed154-4ef7-542d-bbb7-c09d3a79fcae" | |
version = "0.9.3" | |
[[deps.Downloads]] | |
deps = ["ArgTools", "FileWatching", "LibCURL", "NetworkOptions"] | |
uuid = "f43a241f-c20a-4ad4-852c-f6b1247861c6" | |
version = "1.6.0" | |
[[deps.FilePaths]] | |
deps = ["FilePathsBase", "MacroTools", "Reexport", "Requires"] | |
git-tree-sha1 = "919d9412dbf53a2e6fe74af62a73ceed0bce0629" | |
uuid = "8fc22ac5-c921-52a6-82fd-178b2807b824" | |
version = "0.8.3" | |
[[deps.FilePathsBase]] | |
deps = ["Compat", "Dates", "Mmap", "Printf", "Test", "UUIDs"] | |
git-tree-sha1 = "9f00e42f8d99fdde64d40c8ea5d14269a2e2c1aa" | |
uuid = "48062228-2e41-5def-b9a4-89aafe57970f" | |
version = "0.9.21" | |
[[deps.FileWatching]] | |
uuid = "7b1f6079-737a-58dc-b8bc-7a2ca5c1b5ee" | |
[[deps.FixedPointNumbers]] | |
deps = ["Statistics"] | |
git-tree-sha1 = "335bfdceacc84c5cdf16aadc768aa5ddfc5383cc" | |
uuid = "53c48c17-4a7d-5ca2-90c5-79b7896eea93" | |
version = "0.8.4" | |
[[deps.Future]] | |
deps = ["Random"] | |
uuid = "9fa8497b-333b-5362-9e8d-4d0656e87820" | |
[[deps.Hyperscript]] | |
deps = ["Test"] | |
git-tree-sha1 = "179267cfa5e712760cd43dcae385d7ea90cc25a4" | |
uuid = "47d2ed2b-36de-50cf-bf87-49c2cf4b8b91" | |
version = "0.0.5" | |
[[deps.HypertextLiteral]] | |
deps = ["Tricks"] | |
git-tree-sha1 = "7134810b1afce04bbc1045ca1985fbe81ce17653" | |
uuid = "ac1192a8-f4b3-4bfe-ba22-af5b92cd3ab2" | |
version = "0.9.5" | |
[[deps.IOCapture]] | |
deps = ["Logging", "Random"] | |
git-tree-sha1 = "8b72179abc660bfab5e28472e019392b97d0985c" | |
uuid = "b5f81e59-6552-4d32-b1f0-c071b021bf89" | |
version = "0.2.4" | |
[[deps.InlineStrings]] | |
deps = ["Parsers"] | |
git-tree-sha1 = "9cc2baf75c6d09f9da536ddf58eb2f29dedaf461" | |
uuid = "842dd82b-1e85-43dc-bf29-5d0ee9dffc48" | |
version = "1.4.0" | |
[[deps.InteractiveUtils]] | |
deps = ["Markdown"] | |
uuid = "b77e0a4c-d291-57a0-90e8-8db25a27a240" | |
[[deps.InvertedIndices]] | |
git-tree-sha1 = "0dc7b50b8d436461be01300fd8cd45aa0274b038" | |
uuid = "41ab1584-1d38-5bbf-9106-f11c6c58b48f" | |
version = "1.3.0" | |
[[deps.IrrationalConstants]] | |
git-tree-sha1 = "630b497eafcc20001bba38a4651b327dcfc491d2" | |
uuid = "92d709cd-6900-40b7-9082-c6be49f344b6" | |
version = "0.2.2" | |
[[deps.IteratorInterfaceExtensions]] | |
git-tree-sha1 = "a3f24677c21f5bbe9d2a714f95dcd58337fb2856" | |
uuid = "82899510-4779-5014-852e-03e436cf321d" | |
version = "1.0.0" | |
[[deps.JSON]] | |
deps = ["Dates", "Mmap", "Parsers", "Unicode"] | |
git-tree-sha1 = "31e996f0a15c7b280ba9f76636b3ff9e2ae58c9a" | |
uuid = "682c06a0-de6a-54ab-a142-c8b1cf79cde6" | |
version = "0.21.4" | |
[[deps.LaTeXStrings]] | |
git-tree-sha1 = "50901ebc375ed41dbf8058da26f9de442febbbec" | |
uuid = "b964fa9f-0449-5b57-a5c2-d3ea65f4040f" | |
version = "1.3.1" | |
[[deps.LibCURL]] | |
deps = ["LibCURL_jll", "MozillaCACerts_jll"] | |
uuid = "b27032c2-a3e7-50c8-80cd-2d36dbcbfd21" | |
version = "0.6.4" | |
[[deps.LibCURL_jll]] | |
deps = ["Artifacts", "LibSSH2_jll", "Libdl", "MbedTLS_jll", "Zlib_jll", "nghttp2_jll"] | |
uuid = "deac9b47-8bc7-5906-a0fe-35ac56dc84c0" | |
version = "8.4.0+0" | |
[[deps.LibGit2]] | |
deps = ["Base64", "LibGit2_jll", "NetworkOptions", "Printf", "SHA"] | |
uuid = "76f85450-5226-5b5a-8eaa-529ad045b433" | |
[[deps.LibGit2_jll]] | |
deps = ["Artifacts", "LibSSH2_jll", "Libdl", "MbedTLS_jll"] | |
uuid = "e37daf67-58a4-590a-8e99-b0245dd2ffc5" | |
version = "1.6.4+0" | |
[[deps.LibSSH2_jll]] | |
deps = ["Artifacts", "Libdl", "MbedTLS_jll"] | |
uuid = "29816b5a-b9ab-546f-933c-edad1886dfa8" | |
version = "1.11.0+1" | |
[[deps.Libdl]] | |
uuid = "8f399da3-3557-5675-b5ff-fb832c97cbdb" | |
[[deps.LinearAlgebra]] | |
deps = ["Libdl", "OpenBLAS_jll", "libblastrampoline_jll"] | |
uuid = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" | |
[[deps.LogExpFunctions]] | |
deps = ["DocStringExtensions", "IrrationalConstants", "LinearAlgebra"] | |
git-tree-sha1 = "18144f3e9cbe9b15b070288eef858f71b291ce37" | |
uuid = "2ab3a3ac-af41-5b50-aa03-7779005ae688" | |
version = "0.3.27" | |
[deps.LogExpFunctions.extensions] | |
LogExpFunctionsChainRulesCoreExt = "ChainRulesCore" | |
LogExpFunctionsChangesOfVariablesExt = "ChangesOfVariables" | |
LogExpFunctionsInverseFunctionsExt = "InverseFunctions" | |
[deps.LogExpFunctions.weakdeps] | |
ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4" | |
ChangesOfVariables = "9e997f8a-9a97-42d5-a9f1-ce6bfc15e2c0" | |
InverseFunctions = "3587e190-3f89-42d0-90ee-14403ec27112" | |
[[deps.Logging]] | |
uuid = "56ddb016-857b-54e1-b83d-db4d58db5568" | |
[[deps.MIMEs]] | |
git-tree-sha1 = "65f28ad4b594aebe22157d6fac869786a255b7eb" | |
uuid = "6c6e2e6c-3030-632d-7369-2d6c69616d65" | |
version = "0.1.4" | |
[[deps.MacroTools]] | |
deps = ["Markdown", "Random"] | |
git-tree-sha1 = "2fa9ee3e63fd3a4f7a9a4f4744a52f4856de82df" | |
uuid = "1914dd2f-81c6-5fcd-8719-6d5c9610ff09" | |
version = "0.5.13" | |
[[deps.Markdown]] | |
deps = ["Base64"] | |
uuid = "d6f4376e-aef5-505a-96c1-9c027394607a" | |
[[deps.MbedTLS_jll]] | |
deps = ["Artifacts", "Libdl"] | |
uuid = "c8ffd9c3-330d-5841-b78e-0817d7145fa1" | |
version = "2.28.2+1" | |
[[deps.Missings]] | |
deps = ["DataAPI"] | |
git-tree-sha1 = "ec4f7fbeab05d7747bdf98eb74d130a2a2ed298d" | |
uuid = "e1d29d7a-bbdc-5cf2-9ac0-f12de2c33e28" | |
version = "1.2.0" | |
[[deps.Mmap]] | |
uuid = "a63ad114-7e13-5084-954f-fe012c677804" | |
[[deps.MozillaCACerts_jll]] | |
uuid = "14a3606d-f60d-562e-9121-12d972cd8159" | |
version = "2023.1.10" | |
[[deps.NetworkOptions]] | |
uuid = "ca575930-c2e3-43a9-ace4-1e988b2c1908" | |
version = "1.2.0" | |
[[deps.OpenBLAS_jll]] | |
deps = ["Artifacts", "CompilerSupportLibraries_jll", "Libdl"] | |
uuid = "4536629a-c528-5b80-bd46-f80d51c5b363" | |
version = "0.3.23+2" | |
[[deps.OrderedCollections]] | |
git-tree-sha1 = "dfdf5519f235516220579f949664f1bf44e741c5" | |
uuid = "bac558e1-5e72-5ebc-8fee-abe8a469f55d" | |
version = "1.6.3" | |
[[deps.Parameters]] | |
deps = ["OrderedCollections", "UnPack"] | |
git-tree-sha1 = "34c0e9ad262e5f7fc75b10a9952ca7692cfc5fbe" | |
uuid = "d96e819e-fc66-5662-9728-84c9c7592b0a" | |
version = "0.12.3" | |
[[deps.Parsers]] | |
deps = ["Dates", "PrecompileTools", "UUIDs"] | |
git-tree-sha1 = "8489905bcdbcfac64d1daa51ca07c0d8f0283821" | |
uuid = "69de0a69-1ddd-5017-9359-2bf0b02dc9f0" | |
version = "2.8.1" | |
[[deps.Pkg]] | |
deps = ["Artifacts", "Dates", "Downloads", "FileWatching", "LibGit2", "Libdl", "Logging", "Markdown", "Printf", "REPL", "Random", "SHA", "Serialization", "TOML", "Tar", "UUIDs", "p7zip_jll"] | |
uuid = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f" | |
version = "1.10.0" | |
[[deps.PlotlyBase]] | |
deps = ["ColorSchemes", "Dates", "DelimitedFiles", "DocStringExtensions", "JSON", "LaTeXStrings", "Logging", "Parameters", "Pkg", "REPL", "Requires", "Statistics", "UUIDs"] | |
git-tree-sha1 = "56baf69781fc5e61607c3e46227ab17f7040ffa2" | |
uuid = "a03496cd-edff-5a9b-9e67-9cda94a718b5" | |
version = "0.8.19" | |
[[deps.PlutoPlotly]] | |
deps = ["AbstractPlutoDingetjes", "BaseDirs", "Colors", "Dates", "Downloads", "HypertextLiteral", "InteractiveUtils", "LaTeXStrings", "Markdown", "Pkg", "PlotlyBase", "Reexport", "TOML"] | |
git-tree-sha1 = "1ae939782a5ce9a004484eab5416411c7190d3ce" | |
uuid = "8e989ff0-3d88-8e9f-f020-2b208a939ff0" | |
version = "0.4.6" | |
[deps.PlutoPlotly.extensions] | |
PlotlyKaleidoExt = "PlotlyKaleido" | |
UnitfulExt = "Unitful" | |
[deps.PlutoPlotly.weakdeps] | |
PlotlyKaleido = "f2990250-8cf9-495f-b13a-cce12b45703c" | |
Unitful = "1986cc42-f94f-5a68-af5c-568840ba703d" | |
[[deps.PlutoUI]] | |
deps = ["AbstractPlutoDingetjes", "Base64", "ColorTypes", "Dates", "FixedPointNumbers", "Hyperscript", "HypertextLiteral", "IOCapture", "InteractiveUtils", "JSON", "Logging", "MIMEs", "Markdown", "Random", "Reexport", "URIs", "UUIDs"] | |
git-tree-sha1 = "ab55ee1510ad2af0ff674dbcced5e94921f867a9" | |
uuid = "7f904dfe-b85e-4ff6-b463-dae2292396a8" | |
version = "0.7.59" | |
[[deps.PooledArrays]] | |
deps = ["DataAPI", "Future"] | |
git-tree-sha1 = "36d8b4b899628fb92c2749eb488d884a926614d3" | |
uuid = "2dfb63ee-cc39-5dd5-95bd-886bf059d720" | |
version = "1.4.3" | |
[[deps.PrecompileTools]] | |
deps = ["Preferences"] | |
git-tree-sha1 = "5aa36f7049a63a1528fe8f7c3f2113413ffd4e1f" | |
uuid = "aea7be01-6a6a-4083-8856-8a6e6704d82a" | |
version = "1.2.1" | |
[[deps.Preferences]] | |
deps = ["TOML"] | |
git-tree-sha1 = "9306f6085165d270f7e3db02af26a400d580f5c6" | |
uuid = "21216c6a-2e73-6563-6e65-726566657250" | |
version = "1.4.3" | |
[[deps.PrettyTables]] | |
deps = ["Crayons", "LaTeXStrings", "Markdown", "PrecompileTools", "Printf", "Reexport", "StringManipulation", "Tables"] | |
git-tree-sha1 = "88b895d13d53b5577fd53379d913b9ab9ac82660" | |
uuid = "08abe8d2-0d0c-5749-adfa-8a2ac140af0d" | |
version = "2.3.1" | |
[[deps.Printf]] | |
deps = ["Unicode"] | |
uuid = "de0858da-6303-5e67-8744-51eddeeeb8d7" | |
[[deps.REPL]] | |
deps = ["InteractiveUtils", "Markdown", "Sockets", "Unicode"] | |
uuid = "3fa0cd96-eef1-5676-8a61-b3b8758bbffb" | |
[[deps.Random]] | |
deps = ["SHA"] | |
uuid = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" | |
[[deps.Reexport]] | |
git-tree-sha1 = "45e428421666073eab6f2da5c9d310d99bb12f9b" | |
uuid = "189a3867-3050-52da-a836-e630ba90ab69" | |
version = "1.2.2" | |
[[deps.Requires]] | |
deps = ["UUIDs"] | |
git-tree-sha1 = "838a3a4188e2ded87a4f9f184b4b0d78a1e91cb7" | |
uuid = "ae029012-a4dd-5104-9daa-d747884805df" | |
version = "1.3.0" | |
[[deps.SHA]] | |
uuid = "ea8e919c-243c-51af-8825-aaa63cd721ce" | |
version = "0.7.0" | |
[[deps.SentinelArrays]] | |
deps = ["Dates", "Random"] | |
git-tree-sha1 = "0e7508ff27ba32f26cd459474ca2ede1bc10991f" | |
uuid = "91c51154-3ec4-41a3-a24f-3f23e20d615c" | |
version = "1.4.1" | |
[[deps.Serialization]] | |
uuid = "9e88b42a-f829-5b0c-bbe9-9e923198166b" | |
[[deps.Sockets]] | |
uuid = "6462fe0b-24de-5631-8697-dd941f90decc" | |
[[deps.SortingAlgorithms]] | |
deps = ["DataStructures"] | |
git-tree-sha1 = "66e0a8e672a0bdfca2c3f5937efb8538b9ddc085" | |
uuid = "a2af1166-a08f-5f64-846c-94a0d3cef48c" | |
version = "1.2.1" | |
[[deps.SparseArrays]] | |
deps = ["Libdl", "LinearAlgebra", "Random", "Serialization", "SuiteSparse_jll"] | |
uuid = "2f01184e-e22b-5df5-ae63-d93ebab69eaf" | |
version = "1.10.0" | |
[[deps.Statistics]] | |
deps = ["LinearAlgebra", "SparseArrays"] | |
uuid = "10745b16-79ce-11e8-11f9-7d13ad32a3b2" | |
version = "1.10.0" | |
[[deps.StatsAPI]] | |
deps = ["LinearAlgebra"] | |
git-tree-sha1 = "1ff449ad350c9c4cbc756624d6f8a8c3ef56d3ed" | |
uuid = "82ae8749-77ed-4fe6-ae5f-f523153014b0" | |
version = "1.7.0" | |
[[deps.StatsBase]] | |
deps = ["DataAPI", "DataStructures", "LinearAlgebra", "LogExpFunctions", "Missings", "Printf", "Random", "SortingAlgorithms", "SparseArrays", "Statistics", "StatsAPI"] | |
git-tree-sha1 = "5cf7606d6cef84b543b483848d4ae08ad9832b21" | |
uuid = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91" | |
version = "0.34.3" | |
[[deps.StringManipulation]] | |
deps = ["PrecompileTools"] | |
git-tree-sha1 = "a04cabe79c5f01f4d723cc6704070ada0b9d46d5" | |
uuid = "892a3eda-7b42-436c-8928-eab12a02cf0e" | |
version = "0.3.4" | |
[[deps.SuiteSparse_jll]] | |
deps = ["Artifacts", "Libdl", "libblastrampoline_jll"] | |
uuid = "bea87d4a-7f5b-5778-9afe-8cc45184846c" | |
version = "7.2.1+1" | |
[[deps.TOML]] | |
deps = ["Dates"] | |
uuid = "fa267f1f-6049-4f14-aa54-33bafae1ed76" | |
version = "1.0.3" | |
[[deps.TableMetadataTools]] | |
deps = ["DataAPI", "Dates", "TOML", "Tables", "Unitful"] | |
git-tree-sha1 = "c0405d3f8189bb9a9755e429c6ea2138fca7e31f" | |
uuid = "9ce81f87-eacc-4366-bf80-b621a3098ee2" | |
version = "0.1.0" | |
[[deps.TableTraits]] | |
deps = ["IteratorInterfaceExtensions"] | |
git-tree-sha1 = "c06b2f539df1c6efa794486abfb6ed2022561a39" | |
uuid = "3783bdb8-4a98-5b6b-af9a-565f29a5fe9c" | |
version = "1.0.1" | |
[[deps.Tables]] | |
deps = ["DataAPI", "DataValueInterfaces", "IteratorInterfaceExtensions", "LinearAlgebra", "OrderedCollections", "TableTraits"] | |
git-tree-sha1 = "cb76cf677714c095e535e3501ac7954732aeea2d" | |
uuid = "bd369af6-aec1-5ad0-b16a-f7cc5008161c" | |
version = "1.11.1" | |
[[deps.Tar]] | |
deps = ["ArgTools", "SHA"] | |
uuid = "a4e569a6-e804-4fa4-b0f3-eef7a1d5b13e" | |
version = "1.10.0" | |
[[deps.TensorCore]] | |
deps = ["LinearAlgebra"] | |
git-tree-sha1 = "1feb45f88d133a655e001435632f019a9a1bcdb6" | |
uuid = "62fd8b95-f654-4bbd-a8a5-9c27f68ccd50" | |
version = "0.1.1" | |
[[deps.Test]] | |
deps = ["InteractiveUtils", "Logging", "Random", "Serialization"] | |
uuid = "8dfed614-e22c-5e08-85e1-65c5234f0b40" | |
[[deps.TranscodingStreams]] | |
git-tree-sha1 = "5d54d076465da49d6746c647022f3b3674e64156" | |
uuid = "3bb67fe8-82b1-5028-8e26-92a6c54297fa" | |
version = "0.10.8" | |
weakdeps = ["Random", "Test"] | |
[deps.TranscodingStreams.extensions] | |
TestExt = ["Test", "Random"] | |
[[deps.Tricks]] | |
git-tree-sha1 = "eae1bb484cd63b36999ee58be2de6c178105112f" | |
uuid = "410a4b4d-49e4-4fbc-ab6d-cb71b17b3775" | |
version = "0.1.8" | |
[[deps.URIs]] | |
git-tree-sha1 = "67db6cc7b3821e19ebe75791a9dd19c9b1188f2b" | |
uuid = "5c2747f8-b7ea-4ff2-ba2e-563bfd36b1d4" | |
version = "1.5.1" | |
[[deps.UUIDs]] | |
deps = ["Random", "SHA"] | |
uuid = "cf7118a7-6976-5b1a-9a39-7adc72f591a4" | |
[[deps.UnPack]] | |
git-tree-sha1 = "387c1f73762231e86e0c9c5443ce3b4a0a9a0c2b" | |
uuid = "3a884ed6-31ef-47d7-9d2a-63182c4928ed" | |
version = "1.0.2" | |
[[deps.Unicode]] | |
uuid = "4ec0a83e-493e-50e2-b9ac-8f72acf5a8f5" | |
[[deps.Unitful]] | |
deps = ["Dates", "LinearAlgebra", "Random"] | |
git-tree-sha1 = "3c793be6df9dd77a0cf49d80984ef9ff996948fa" | |
uuid = "1986cc42-f94f-5a68-af5c-568840ba703d" | |
version = "1.19.0" | |
[deps.Unitful.extensions] | |
ConstructionBaseUnitfulExt = "ConstructionBase" | |
InverseFunctionsUnitfulExt = "InverseFunctions" | |
[deps.Unitful.weakdeps] | |
ConstructionBase = "187b0558-2788-49d3-abe0-74a17ed4e7c9" | |
InverseFunctions = "3587e190-3f89-42d0-90ee-14403ec27112" | |
[[deps.WeakRefStrings]] | |
deps = ["DataAPI", "InlineStrings", "Parsers"] | |
git-tree-sha1 = "b1be2855ed9ed8eac54e5caff2afcdb442d52c23" | |
uuid = "ea10d353-3f73-51f8-a26c-33c1cb351aa5" | |
version = "1.4.2" | |
[[deps.WorkerUtilities]] | |
git-tree-sha1 = "cd1659ba0d57b71a464a29e64dbc67cfe83d54e7" | |
uuid = "76eceee3-57b5-4d4a-8e66-0e911cebbf60" | |
version = "1.6.1" | |
[[deps.Zlib_jll]] | |
deps = ["Libdl"] | |
uuid = "83775a58-1f1d-513f-b197-d71354ab007a" | |
version = "1.2.13+1" | |
[[deps.libblastrampoline_jll]] | |
deps = ["Artifacts", "Libdl"] | |
uuid = "8e850b90-86db-534c-a0d3-1478176c7d93" | |
version = "5.8.0+1" | |
[[deps.nghttp2_jll]] | |
deps = ["Artifacts", "Libdl"] | |
uuid = "8e850ede-7688-5339-a07c-302acd2aaf8d" | |
version = "1.52.0+1" | |
[[deps.p7zip_jll]] | |
deps = ["Artifacts", "Libdl"] | |
uuid = "3f19e933-33d8-53b3-aaab-bd5110c3b7a0" | |
version = "17.4.0+2" | |
""" | |
# ╔═╡ Cell order: | |
# ╟─9098aeea-1a44-4dd3-a658-65f6a619a0ae | |
# ╟─dc493318-9a2f-4820-bf35-b85953f94f56 | |
# ╟─b1961e35-6c1e-4efb-b286-1e2d2070a471 | |
# ╟─9a84509f-43ac-49f7-9f84-1aa4a9e9b192 | |
# ╟─3519503a-ac2e-4345-8e06-34b2b0893589 | |
# ╠═88b5d431-fd0f-4f8a-a758-bd14b61cb611 | |
# ╟─073f9dcb-a44a-4fcb-901e-27a60b2d69e3 | |
# ╟─0ac42949-73c8-4dc7-89c3-d81cd4498e87 | |
# ╠═2522a9d7-7917-4475-a536-9e154490727d | |
# ╟─213ce5fd-3e4d-43bf-afd1-1ad47d61e6f9 | |
# ╟─749ca1c8-1068-4183-8455-e7a33eb57b94 | |
# ╠═b7980f43-b629-4f75-ad62-a0cb99a51f54 | |
# ╠═7a819f67-06a9-49bf-bcdf-289ed332271d | |
# ╠═ac24f2e2-8d34-4a9c-8f0c-c2a48651bdd1 | |
# ╠═0d453cc8-52f0-46f7-9f31-9a270c41d4d9 | |
# ╟─d4444576-9862-498e-9bd6-c6603aeffb35 | |
# ╠═e9f5d681-c1f7-486f-934d-ad59f17e9d39 | |
# ╠═d26cbccb-83e5-4568-8d8f-3f83d3b96536 | |
# ╟─78d6d039-675d-4d51-af6b-bf85a1a7cdb8 | |
# ╠═bdfb156e-0cbb-11ef-37ae-837118de33d6 | |
# ╠═db9c7e7f-532a-42c9-a2ea-ce25bcfdb1ed | |
# ╠═e8eb23f0-b803-4f42-b8f0-edc56d9246e1 | |
# ╠═6ed4dd43-fce0-466b-a5bb-0edbe5990538 | |
# ╠═10dbb116-7dfd-4d58-bc54-305c6e6972f4 | |
# ╠═1c9b5991-81d7-4487-bc7a-046241cb687c | |
# ╠═810bb127-e91a-42dc-87fc-e2a669bc669f | |
# ╟─00000000-0000-0000-0000-000000000001 | |
# ╟─00000000-0000-0000-0000-000000000002 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment