Skip to content

Commit 8e94a09

Browse files
authored
Some fixes for the notebook output (#248)
1 parent 56b868c commit 8e94a09

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

Project.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "DynamicalSystems"
22
uuid = "61744808-ddfa-5f27-97ff-6e42cc95d634"
33
repo = "https://github.com/JuliaDynamics/DynamicalSystems.jl.git"
4-
version = "3.3.25"
4+
version = "3.3.26"
55

66
[deps]
77
Attractors = "f3fd9213-ca85-4dba-9dfd-7fc91308fec7"

docs/Project.toml

-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ DocumenterTools = "35a29f4d-8980-5a13-9543-d66fff28ecb8"
1111
DynamicalSystems = "61744808-ddfa-5f27-97ff-6e42cc95d634"
1212
DynamicalSystemsBase = "6e36e845-645a-534a-86f2-f5d4aa5a06b4"
1313
FractalDimensions = "4665ce21-e117-4649-aed8-08bbe5ccbead"
14-
GLMakie = "e9467ef8-e4e7-5192-8a1a-b1aee30e663a"
1514
Literate = "98b081ad-f1c9-55d3-8b20-4c87d4299306"
1615
ModelingToolkit = "961ee093-0014-501f-94e3-6117800e7a78"
1716
OrdinaryDiffEq = "1dea7af3-3e70-54e6-95c3-0bf5283fa5ed"

docs/src/tutorial.jl

+6-6
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ import Pkg
3131

3232
#nb # Activate an environment in the folder containing the notebook
3333
#nb Pkg.activate(dirname(@__DIR__))
34-
#nb Pkg.add(["DynamicalSystems", "CairoMakie", "GLMakie", "OrdinaryDiffEq", "BenchmarkTools"])
35-
Pkg.status(["DynamicalSystems", "CairoMakie", "GLMakie", "OrdinaryDiffEq", "BenchmarkTools"]; mode = Pkg.PKGMODE_MANIFEST)
34+
#nb Pkg.add(["DynamicalSystems", "CairoMakie", "OrdinaryDiffEq", "BenchmarkTools"])
35+
Pkg.status(["DynamicalSystems", "CairoMakie", "OrdinaryDiffEq", "BenchmarkTools"]; mode = Pkg.PKGMODE_MANIFEST)
3636

3737
#nb # ## **DynamicalSystems.jl** summary
3838

@@ -359,7 +359,7 @@ xg = yg = range(-1, 1; length = 101)
359359

360360
sampler, _ = statespace_sampler((xg, yg))
361361

362-
fs = basins_fractions(mapper, sampler)
362+
fs = basins_fractions(mapper, sampler; show_progress = false)
363363

364364
# and we can see the stored "attractors"
365365

@@ -509,7 +509,7 @@ pex, sey
509509

510510
# Alternatively, you could use [`FractalDimensions`](@ref) to get the fractal dimensions of the chaotic attractor of the henon map using the Grassberger-Procaccia algorithm:
511511

512-
grassberger_proccacia_dim(X)
512+
grassberger_proccacia_dim(X; show_progress = false)
513513

514514
# Or, you could obtain a recurrence matrix of a state space set with [`RecurrenceAnalysis`](@ref)
515515

@@ -548,15 +548,15 @@ using Random: Xoshiro
548548
rng = Xoshiro(1234)
549549
x .+= randn(rng, length(x))/100
550550
## compute noise-contaminated fractal dim.
551-
Δ_orig = generalized_dim(embed(x, 2, 1))
551+
Δ_orig = generalized_dim(embed(x, 2, 1); show_progress = false)
552552

553553
# And we do the surrogate test
554554

555555
surrogate_method = RandomFourier()
556556
sgen = surrogenerator(x, surrogate_method, rng)
557557
Δ_surr = map(1:1000) do i
558558
s = sgen()
559-
generalized_dim(embed(s, 2, 1))
559+
generalized_dim(embed(s, 2, 1); show_progress = false)
560560
end
561561

562562
# and visualize the test result

0 commit comments

Comments
 (0)