MakieOrg / GeoMakie.jl

Geographical plotting utilities for Makie.jl
https://geo.makie.org
MIT License
167 stars 24 forks source link

Sometimes tick labels are missing from plots #134

Open haakon-e opened 1 year ago

haakon-e commented 1 year ago

Consider the two examples:

julia> fig = Figure()

julia> ga = GeoAxis(fig[1, 1]; 
               coastlines = true, coastline_attributes = (;),
               dest = "+proj=eqc",);

julia> ylims!(ga, -25, 25); xlims!(ga, -150, -130)

output: image

julia> fig = Figure()

julia> ga = GeoAxis(fig[1, 1]; 
               coastlines = true, coastline_attributes = (;),
               dest = "+proj=eqc",);

julia> ylims!(ga, -25, -15); xlims!(ga, -150, -130)

output: image

The only difference is that in 1) I set ylims!(ga, -25, 25) and in 2) I set ylims!(ga, -25, -15). In the second example, latitude tick labels disappear. It would be preferable if they didn't do that for any combinations of xlims/ylims.

Note: For some configurations of xlims/ylims, the longitude tick labels may disappear too.

I'm using [e9467ef8] GLMakie v0.7.1, [db073c08] GeoMakie v0.4.6