Skip to content

Commit

Permalink
Indentation fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Lazersmoke committed Oct 25, 2023
1 parent 9bbae4a commit d5ae01d
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions ext/PlottingExt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -283,16 +283,16 @@ function plot_spins!(ax, sys::System; arrowscale=1.0, stemcolor=:lightgray, colo
end

Makie.on(spin_data, update = true) do dipoles
ix = 1
for site in eachindex(images)
vec = (lengthscale / S0) * dipoles[site]
for n in images[site]
iszero(n) == isghost && continue
vecs[][ix] = Makie.Vec3f0(vec)
ix += 1
ix = 1
for site in eachindex(images)
vec = (lengthscale / S0) * dipoles[site]
for n in images[site]
iszero(n) == isghost && continue
vecs[][ix] = Makie.Vec3f0(vec)
ix += 1
end
end
end
notify(vecs)
notify(vecs)
end

shifted_pts = map(vs -> pts - arrow_fractional_shift * vs, vecs)
Expand Down

0 comments on commit d5ae01d

Please sign in to comment.