Skip to content

Commit

Permalink
Bump version and allow show_axis on plot_spins
Browse files Browse the repository at this point in the history
  • Loading branch information
kbarros committed Jul 7, 2023
1 parent dcf7070 commit a61f7aa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "Sunny"
uuid = "2b4a2ac8-8f8b-43e8-abf4-3cb0c45e8736"
authors = ["The Sunny team"]
version = "0.4.3"
version = "0.4.4"

[deps]
Colors = "5ae59095-9a9b-59fe-a467-6f913c188581"
Expand Down
4 changes: 2 additions & 2 deletions src/Plotting.jl
Original file line number Diff line number Diff line change
Expand Up @@ -242,9 +242,9 @@ end
Plot the spin configuration defined by `sys`. `kwargs` are passed to `Makie.arrows`.
"""
function plot_spins(sys::System; linecolor=:grey, arrowcolor=:red,
linewidth=0.1, arrowsize=0.2, arrowlength=0.2, ortho=false, kwargs...)
linewidth=0.1, arrowsize=0.2, arrowlength=0.2, show_axis=false, ortho=false, kwargs...)

fig, ax = _setup_scene(; ortho)
fig, ax = _setup_scene(; show_axis, ortho)

pts = Makie.Point3f0.(spin_vector_origins(sys, arrowlength)[:])
vecs = Makie.Vec3f0.(sys.dipoles[:])
Expand Down

0 comments on commit a61f7aa

Please sign in to comment.