Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
asinghvi17 committed Feb 2, 2023
1 parent 0b74abc commit 7a73d5e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/field_and_countries.jl
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ ax = GeoAxis(
target_projection = "+proj=vandg",
title = "World Countries",
tellheight = true,
# limits = ((-180, 180), (-90, 90))
limits = ((-180, 180), (-90, 90))
)

hm1 = surface!(ax, lons, lats, field; shading = false)
Expand Down
3 changes: 2 additions & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ Makie.set_theme!(Theme(
field = [exp(cosd(l)) + 3(y/90) for l in lons, y in lats]

fig = Figure()
ax = GeoAxis(fig[1,1], coastlines=true)
ax = GeoAxis(fig[1,1])
lines!(ax, GeoMakie.coastlines(); color = :black)
el = surface!(ax, lons, lats, field; shading = false)
@test true
# display(fig)
Expand Down

0 comments on commit 7a73d5e

Please sign in to comment.