From 8feabb07ad332cd42868774a1492d2b4d14cf30c Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 7 Oct 2024 18:50:08 -0300 Subject: [PATCH] :robot: Format .jl files (#26) Co-authored-by: juliohm <3345261+juliohm@users.noreply.github.com> --- ext/transioplot.jl | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/ext/transioplot.jl b/ext/transioplot.jl index d260b81..9c1e1bd 100644 --- a/ext/transioplot.jl +++ b/ext/transioplot.jl @@ -2,7 +2,8 @@ # Licensed under the MIT License. See LICENSE in the project root. # ------------------------------------------------------------------ -function transioplot(t::Transiogram; +function transioplot( + t::Transiogram; # common transiogram options color=:slategray, size=1.5, @@ -31,12 +32,12 @@ function transioplot(t::Transiogram; lᵢ, lⱼ = l[i], l[j] ax = Makie.Axis(fig[i, j]) ys = getindex.(y, i, j) - Makie.lines!(ax, x, ys, color=color, linewidth=size, label = "$lᵢ → $lⱼ") + Makie.lines!(ax, x, ys, color=color, linewidth=size, label="$lᵢ → $lⱼ") if i == j # show effective range Makie.lines!(ax, [zero(H), r[i]], [1.0, 0.0], color=color, linewidth=size, linestyle=:dash) end - Makie.axislegend(position = i == j ? :rt : :rb) + Makie.axislegend(position=i == j ? :rt : :rb) end fig end