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

{x,y}autolimits=false breaks example #166

Open
filchristou opened this issue Apr 28, 2023 · 0 comments
Open

{x,y}autolimits=false breaks example #166

filchristou opened this issue Apr 28, 2023 · 0 comments

Comments

@filchristou
Copy link

I took the example of the italian map visualization and added xautolimits=false, yautolimits=false, and it doesn't work.

let
	it_states = Downloads.download("https://github.com/openpolis/geojson-italy/raw/master/geojson/limits_IT_provinces.geojson")
	geo = GeoJSON.read(read(it_states, String))
	
	fig = Figure()
	ga = GeoAxis(fig[1, 1]; dest = "+proj=ortho +lon_0=12.5 +lat_0=42", lonlims=(12, 13), latlims = (40, 44))
	poly!(ga, geo; strokecolor = :blue, strokewidth = 1, color = (:blue, 0.5), shading = false, xautolimits=false, yautolimits=false);
	datalims!(ga)
	
	fig
end

image

Reproducibility Julia Version 1.8.5 Commit 17cfb8e65ea (2023-01-08 06:45 UTC) Platform Info: OS: Linux (x86_64-linux-gnu) CPU: 12 × 12th Gen Intel(R) Core(TM) i5-1235U WORD_SIZE: 64 LIBM: libopenlibm LLVM: libLLVM-13.0.1 (ORCJIT, goldmont) Threads: 6 on 12 virtual cores Environment: JULIA_REVISE_WORKER_ONLY = 1

Status /tmp/jl_QxKbHf/Project.toml
[13f3f980] CairoMakie v0.10.4
[db073c08] GeoMakie v0.5.0

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