-
-
Notifications
You must be signed in to change notification settings - Fork 312
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Documenter.jl
committed
Feb 7, 2024
1 parent
d63eaf0
commit ddd3871
Showing
3,149 changed files
with
147,104 additions
and
0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
[deps] | ||
AbstractTrees = "1520ce14-60c1-5f80-bbc7-55ef81b5835c" | ||
Animations = "27a7e980-b3e6-11e9-2bcd-0b925532e340" | ||
Bonito = "824d6782-a2ef-11e9-3a09-e5662e0c26f8" | ||
CairoMakie = "13f3f980-e62b-5c42-98c6-ff1f3baf88f0" | ||
Chain = "8be319e6-bccf-4806-a6f7-6fae938471bc" | ||
ColorSchemes = "35d6a980-a343-548e-a6ea-1d62b119f2f4" | ||
ColorVectorSpace = "c3611d14-8923-5661-9e6a-0046d554d3a4" | ||
Colors = "5ae59095-9a9b-59fe-a467-6f913c188581" | ||
DelaunayTriangulation = "927a84f5-c5f4-47a5-9785-b46e178433df" | ||
DelimitedFiles = "8bb1440f-4735-579b-a4ab-409b98df4dab" | ||
Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f" | ||
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4" | ||
FileIO = "5789e2e9-d7fb-5bc7-8068-2c6fae9b9549" | ||
Franklin = "713c75ef-9fc9-4b05-94a9-213340da978e" | ||
GLMakie = "e9467ef8-e4e7-5192-8a1a-b1aee30e663a" | ||
GeometryBasics = "5c1252a2-5f33-56bf-86c9-59e7332b4326" | ||
Gumbo = "708ec375-b3d6-5a57-a7ce-8257bf98657a" | ||
ImageTransformations = "02fcd773-0e25-5acc-982a-7f6622650795" | ||
Makie = "ee78f7c6-11fb-53f2-987a-cfe4a2b5a57a" | ||
MakieCore = "20f20a25-4f0e-4fdf-b5d1-57303727442b" | ||
MappedArrays = "dbb5928d-eab1-5f90-85c2-b9b0edb7c900" | ||
MeshIO = "7269a6da-0436-5bbc-96c2-40638cbb6118" | ||
NIfTI = "a3a9e032-41b5-5fc4-967a-a6b7a19844d3" | ||
NodeJS = "2bd173c7-0d6d-553b-b6af-13a54713934c" | ||
Observables = "510215fc-4207-5dde-b226-833fc4488ee2" | ||
RPRMakie = "22d9f318-5e34-4b44-b769-6e3734a732a6" | ||
RadeonProRender = "27029320-176d-4a42-b57d-56729d2ad457" | ||
WGLMakie = "276b4fcb-3e11-5398-bf8b-a0c2d153d008" | ||
|
||
[compat] | ||
Documenter = "<1" |
Large diffs are not rendered by default.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions
14
previews/PR3612/assets/explanations/animation/code/append_animation.jl
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# This file was generated, do not modify it. # hide | ||
points = Observable(Point2f[(0, 0)]) | ||
|
||
fig, ax = scatter(points) | ||
limits!(ax, 0, 30, 0, 30) | ||
|
||
frames = 1:30 | ||
|
||
record(fig, "append_animation.mp4", frames; | ||
framerate = 30) do frame | ||
new_point = Point2f(frame, frame) | ||
points[] = push!(points[], new_point) | ||
end | ||
nothing # hide |
17 changes: 17 additions & 0 deletions
17
previews/PR3612/assets/explanations/animation/code/color_animation.jl
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# This file was generated, do not modify it. # hide | ||
using GLMakie | ||
GLMakie.activate!() # hide | ||
using Makie.Colors | ||
|
||
fig, ax, lineplot = lines(0..10, sin; linewidth=10) | ||
|
||
# animation settings | ||
nframes = 30 | ||
framerate = 30 | ||
hue_iterator = range(0, 360, length=nframes) | ||
|
||
record(fig, "color_animation.mp4", hue_iterator; | ||
framerate = framerate) do hue | ||
lineplot.color = HSV(hue, 1, 0.75) | ||
end | ||
nothing # hide |
10 changes: 10 additions & 0 deletions
10
previews/PR3612/assets/explanations/animation/code/color_animation_2.jl
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# This file was generated, do not modify it. # hide | ||
time = Observable(0.0) | ||
color_observable = @lift(RGBf($time, 0, 0)) | ||
|
||
fig = lines(0..10, sin, color = color_observable) | ||
|
||
record(fig, "color_animation_2.mp4", timestamps; framerate = framerate) do t | ||
time[] = t | ||
end | ||
nothing # hide |
33 changes: 33 additions & 0 deletions
33
previews/PR3612/assets/explanations/animation/code/heatmap.jl
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# This file was generated, do not modify it. # hide | ||
using GLMakie | ||
GLMakie.activate!() # hide | ||
|
||
function mandelbrot(x, y) | ||
z = c = x + y*im | ||
for i in 1:30.0; abs(z) > 2 && return i; z = z^2 + c; end; 0 | ||
end | ||
|
||
x = LinRange(-2, 1, 200) | ||
y = LinRange(-1.1, 1.1, 200) | ||
matrix = mandelbrot.(x, y') | ||
fig, ax, hm = heatmap(x, y, matrix) | ||
|
||
N = 50 | ||
xmin = LinRange(-2.0, -0.72, N) | ||
xmax = LinRange(1, -0.6, N) | ||
ymin = LinRange(-1.1, -0.51, N) | ||
ymax = LinRange(1, -0.42, N) | ||
|
||
# we use `record` to show the resulting video in the docs. | ||
# If one doesn't need to record a video, a normal loop works as well. | ||
# Just don't forget to call `display(fig)` before the loop | ||
# and without record, one needs to insert a yield to yield to the render task | ||
record(fig, "heatmap_mandelbrot.mp4", 1:7:N) do i | ||
_x = LinRange(xmin[i], xmax[i], 200) | ||
_y = LinRange(ymin[i], ymax[i], 200) | ||
hm[1] = _x # update x coordinates | ||
hm[2] = _y # update y coordinates | ||
hm[3] = mandelbrot.(_x, _y') # update data | ||
autolimits!(ax) # update limits | ||
# yield() -> not required with record | ||
end |
Binary file added
BIN
+7.45 KB
previews/PR3612/assets/explanations/animation/code/output/append_animation.mp4
Binary file not shown.
Empty file.
1 change: 1 addition & 0 deletions
1
previews/PR3612/assets/explanations/animation/code/output/append_animation.res
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
nothing |
Binary file added
BIN
+38.1 KB
previews/PR3612/assets/explanations/animation/code/output/color_animation.mp4
Binary file not shown.
Empty file.
1 change: 1 addition & 0 deletions
1
previews/PR3612/assets/explanations/animation/code/output/color_animation.res
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
nothing |
Binary file added
BIN
+32.8 KB
previews/PR3612/assets/explanations/animation/code/output/color_animation_2.mp4
Binary file not shown.
Empty file.
1 change: 1 addition & 0 deletions
1
previews/PR3612/assets/explanations/animation/code/output/color_animation_2.res
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
nothing |
Empty file.
1 change: 1 addition & 0 deletions
1
previews/PR3612/assets/explanations/animation/code/output/heatmap.res
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
"heatmap_mandelbrot.mp4" |
Binary file added
BIN
+90.5 KB
previews/PR3612/assets/explanations/animation/code/output/heatmap_mandelbrot.mp4
Binary file not shown.
Binary file added
BIN
+65.7 KB
previews/PR3612/assets/explanations/animation/code/output/time_animation.mp4
Binary file not shown.
Empty file.
1 change: 1 addition & 0 deletions
1
previews/PR3612/assets/explanations/animation/code/output/time_animation.res
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
nothing |
20 changes: 20 additions & 0 deletions
20
previews/PR3612/assets/explanations/animation/code/time_animation.jl
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# This file was generated, do not modify it. # hide | ||
time = Observable(0.0) | ||
|
||
xs = range(0, 7, length=40) | ||
|
||
ys_1 = @lift(sin.(xs .- $time)) | ||
ys_2 = @lift(cos.(xs .- $time) .+ 3) | ||
|
||
fig = lines(xs, ys_1, color = :blue, linewidth = 4, | ||
axis = (title = @lift("t = $(round($time, digits = 1))"),)) | ||
scatter!(xs, ys_2, color = :red, markersize = 15) | ||
|
||
framerate = 30 | ||
timestamps = range(0, 2, step=1/framerate) | ||
|
||
record(fig, "time_animation.mp4", timestamps; | ||
framerate = framerate) do t | ||
time[] = t | ||
end | ||
nothing # hide |
6 changes: 6 additions & 0 deletions
6
previews/PR3612/assets/explanations/backends/cairomakie/code/docs.jl
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# This file was generated, do not modify it. # hide | ||
# hideall | ||
using CairoMakie, Markdown | ||
println("~~~") | ||
println(Markdown.html(@doc CairoMakie.activate!)) | ||
println("~~~") |
15 changes: 15 additions & 0 deletions
15
previews/PR3612/assets/explanations/backends/cairomakie/code/example_0fad2348.jl
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# This file was generated, do not modify it. # hide | ||
using Makie.LaTeXStrings: @L_str # hide | ||
__result = begin # hide | ||
using CairoMakie | ||
CairoMakie.activate!() # hide | ||
v = rand(10,2) | ||
scatter(v[:,1], v[:,2], rasterize = true, markersize = 30.0) | ||
end # hide | ||
sz = size(Makie.parent_scene(__result)) # hide | ||
open(joinpath(@OUTPUT, "example_0fad2348_size.txt"), "w") do io # hide | ||
print(io, sz[1], " ", sz[2]) # hide | ||
end # hide | ||
save(joinpath(@OUTPUT, "example_0fad2348.png"), __result; px_per_unit = 2, pt_per_unit = 0.75, ) # hide | ||
save(joinpath(@OUTPUT, "example_0fad2348.svg"), __result; px_per_unit = 2, pt_per_unit = 0.75, ) # hide | ||
nothing # hide |
15 changes: 15 additions & 0 deletions
15
previews/PR3612/assets/explanations/backends/cairomakie/code/example_b4b2154f.jl
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# This file was generated, do not modify it. # hide | ||
using Makie.LaTeXStrings: @L_str # hide | ||
__result = begin # hide | ||
using CairoMakie | ||
CairoMakie.activate!() # hide | ||
v = rand(10,2) | ||
scatter(v[:,1], v[:,2], rasterize = 10, markersize = 30.0) | ||
end # hide | ||
sz = size(Makie.parent_scene(__result)) # hide | ||
open(joinpath(@OUTPUT, "example_b4b2154f_size.txt"), "w") do io # hide | ||
print(io, sz[1], " ", sz[2]) # hide | ||
end # hide | ||
save(joinpath(@OUTPUT, "example_b4b2154f.png"), __result; px_per_unit = 2, pt_per_unit = 0.75, ) # hide | ||
save(joinpath(@OUTPUT, "example_b4b2154f.svg"), __result; px_per_unit = 2, pt_per_unit = 0.75, ) # hide | ||
nothing # hide |
18 changes: 18 additions & 0 deletions
18
previews/PR3612/assets/explanations/backends/cairomakie/code/output/docs.out
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
~~~ | ||
<pre><code>CairoMakie.activate!(; screen_config...)</code></pre> | ||
<p>Sets CairoMakie as the currently active backend and also allows to quickly set the <code>screen_config</code>. Note, that the <code>screen_config</code> can also be set permanently via <code>Makie.set_theme!(CairoMakie=(screen_config...,))</code>.</p> | ||
<h1>Arguments one can pass via <code>screen_config</code>:</h1> | ||
<ul> | ||
<li><p><code>px_per_unit = 2.0</code></p> | ||
</li> | ||
<li><p><code>pt_per_unit = 0.75</code></p> | ||
</li> | ||
<li><p><code>antialias::Union{Symbol, Int} = :best</code>: antialias modus Cairo uses to draw. Applicable options: <code>[:best => Cairo.ANTIALIAS_BEST, :good => Cairo.ANTIALIAS_GOOD, :subpixel => Cairo.ANTIALIAS_SUBPIXEL, :none => Cairo.ANTIALIAS_NONE]</code>.</p> | ||
</li> | ||
<li><p><code>visible::Bool</code>: if true, a browser/image viewer will open to display rendered output.</p> | ||
</li> | ||
</ul> | ||
|
||
|
||
|
||
~~~ |
1 change: 1 addition & 0 deletions
1
previews/PR3612/assets/explanations/backends/cairomakie/code/output/docs.res
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
nothing |
Empty file.
Binary file added
BIN
+25.1 KB
...PR3612/assets/explanations/backends/cairomakie/code/output/example_0fad2348.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions
1
previews/PR3612/assets/explanations/backends/cairomakie/code/output/example_0fad2348.res
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
nothing |
Oops, something went wrong.