Skip to content

Commit

Permalink
fix yticks
Browse files Browse the repository at this point in the history
  • Loading branch information
TabeaW committed Nov 26, 2023
1 parent ae646d7 commit 5bfba5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/geoaxis.jl
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ function Makie.initialize_block!(axis::GeoAxis)
lat_transformed = Point2f[]
limit_rect = axis.finallimits[]
trans_inverse = Makie.inverse_transform(trans)
spines = spines_obs[]
spines = spines_obs[]
foreach(empty!, [spines.left, spines.right, spines.bottom, spines.top])
for lon in lonticks
range = LinRange(latticks[1], latticks[end], 100)
Expand Down Expand Up @@ -547,7 +547,7 @@ function Makie.initialize_block!(axis::GeoAxis)
onany(lat_spine, axis.xlabelpadding, axis.xticklabelsize) do spine, offset, size
empty!(lon_points_px[])
empty!(lon_text[])
vis_spine!(spine, lon_text[], lon_points_px[], 1, size * 3, offset)
vis_spine!(spine, lon_text[], lon_points_px[], 2, size * 3, offset)
notify(lon_text)
return
end
Expand Down

0 comments on commit 5bfba5f

Please sign in to comment.