Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduction of a bug for limits! in GeoMakie v0.6.0 #191

Closed
Zetison opened this issue Jan 17, 2024 · 1 comment
Closed

Introduction of a bug for limits! in GeoMakie v0.6.0 #191

Zetison opened this issue Jan 17, 2024 · 1 comment

Comments

@Zetison
Copy link

Zetison commented Jan 17, 2024

The bug is reproduced with
using GeoMakie; fig = Figure(); ax = GeoAxis(fig[1,1]); limits!(ax, (2,3),(3,4))
and results in the following error message

ERROR: MethodError: no method matching convert_limit_attribute(::Rect2{Float64})

Closest candidates are:
  convert_limit_attribute(::Tuple{Any, Any})
   @ Makie C:\Users\jonv\.julia\packages\Makie\fyNiH\src\makielayout\blocks\axis.jl:650
  convert_limit_attribute(::Tuple{Any, Any, Any})
   @ Makie C:\Users\jonv\.julia\packages\Makie\fyNiH\src\makielayout\blocks\axis3d.jl:794
  convert_limit_attribute(::NTuple{4, Any})
   @ Makie C:\Users\jonv\.julia\packages\Makie\fyNiH\src\makielayout\blocks\axis.jl:646
  ...

Stacktrace:
 [1] xlims!(ax::GeoAxis, xlims::Tuple{Int64, Int64})
   @ GeoMakie C:\Users\jonv\.julia\packages\GeoMakie\zPSZg\src\makie-axis.jl:446
 [2] limits!(ax::GeoAxis, xlims::Tuple{Int64, Int64}, ylims::Tuple{Int64, Int64})
   @ GeoMakie C:\Users\jonv\.julia\packages\GeoMakie\zPSZg\src\makie-axis.jl:471
 [3] top-level scope
   @ REPL[1]:1
@Zetison
Copy link
Author

Zetison commented Feb 5, 2024

Is there a workaround for this issue I could use?

asinghvi17 added a commit that referenced this issue Feb 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant