Skip to content

Commit

Permalink
Update minimum Makie version to v0.21
Browse files Browse the repository at this point in the history
The `rotations` keyword for `Makie.scatter` was renamed to
`rotation` in v0.21 of Makie, therefore fix the use of the keyword
and update the minimum compat entry.
  • Loading branch information
anowacki committed Aug 30, 2024
1 parent 5de923a commit ca77b7c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "CIJ"
uuid = "94ef64d9-0af0-5988-adf1-f968d20ebcf5"
authors = ["Andy Nowacki <a.nowacki@leeds.ac.uk>"]
version = "0.2.2"
version = "0.2.3"

[deps]
Dates = "ade2ca70-3891-5945-98fb-dc099432e06a"
Expand All @@ -20,7 +20,7 @@ CIJMakieExt = ["GeometryBasics", "Makie"]

[compat]
GeometryBasics = "0.4"
Makie = "0.20, 0.21"
Makie = "0.21"
Rotations = "1"
StaticArrays = "0.12, 1"
julia = "1.6"
Expand Down
4 changes: 2 additions & 2 deletions ext/CIJMakieExt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ function CIJ.plot_hemisphere(
if fast
θs_fast, rs_fast, pols = _pols_and_hemisphere_coords(C, 2; projection)
Makie.scatter!(ax, θs_fast, rs_fast;
rotations=(-deg2rad.(pols) .- θs_fast),
rotation=(-deg2rad.(pols) .- θs_fast),
color=:black,
marker=:vline,
markersize=20,
Expand Down Expand Up @@ -170,7 +170,7 @@ function CIJ.plot_hemisphere!(
if fast_dirs
θs_fast, rs_fast, pols = _pols_and_hemisphere_coords(C, 2; projection)
Makie.scatter!(ax, θs_fast, rs_fast;
rotations=(-deg2rad.(pols) .- θs_fast),
rotation=(-deg2rad.(pols) .- θs_fast),
color=:black,
marker=:vline,
markersize=20,
Expand Down

0 comments on commit ca77b7c

Please sign in to comment.