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

README example doesn't work (datalims!) #179

Open
filchristou opened this issue Oct 15, 2023 · 1 comment
Open

README example doesn't work (datalims!) #179

filchristou opened this issue Oct 15, 2023 · 1 comment

Comments

@filchristou
Copy link

This simplified example extracted from the README doesn't work.

let
	land = GeoMakie.land()
	
	fig = Figure()
	
	ga4 = GeoAxis(fig[1, 1]; dest = "+proj=natearth", title = "Auto limits") # you can plot geodata on regular axes too
	
	poly!(ga4, land[22]); 
	datalims!(ga4)
	
	fig
end

image

The problem is the datalims!(ga4) line.

@nchisholm
Copy link

I ran into the same issue. I also noticed that the "Image of the Earth" plot in the top right works properly with CairoMakie but not GLMakie — the axes show up, but not the image itself.

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

2 participants