Skip to content

Commit

Permalink
correct spelling errors
Browse files Browse the repository at this point in the history
  • Loading branch information
t-bltg committed Nov 1, 2024
1 parent 0c7230e commit 7fe54a1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/ticks.jl
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ function optimize_ticks(
Millisecond(1),
]

# ticks on week boundries
# ticks on week boundaries
if x_min + Day(7) < x_max || scale :week
push!(ticks, x_min)
while true
Expand Down
4 changes: 2 additions & 2 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -83,15 +83,15 @@ end
@testset "sampling" begin
# github.com/MakieOrg/Makie.jl/issues/2635
cmap = cgrad([:black, :white, :orange], [0, 0.2, 1])
# sample ouside the given values
# sample outside the given values
@test RGB(get(cmap, 0.15)) RGB(0.75, 0.75, 0.75)
@test RGB(get(cmap, 0.5)) RGB(1.0, 0.86764705, 0.625)
@test RGB(get(cmap, 0.8)) RGB(1.0, 0.73529411, 0.25)
end

@testset "reverse" begin
cmap = reverse(cgrad([:black, :white, :orange], [0, 0.2, 1]))
# sample ouside the given values
# sample oustide the given values
@test RGB(get(cmap, 0.15)) RGB(1.0, 0.71323529, 0.1875)
@test RGB(get(cmap, 0.5)) RGB(1.0, 0.86764705, 0.625)
@test RGB(get(cmap, 0.75)) RGB(1.0, 0.97794117, 0.9375)
Expand Down

0 comments on commit 7fe54a1

Please sign in to comment.