Skip to content
New issue

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

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

Already on GitHub? # to your account

Arrow plot not showing up in 05-plots-maps.ipynb #59

Open
ctroupin opened this issue Jan 21, 2025 · 0 comments
Open

Arrow plot not showing up in 05-plots-maps.ipynb #59

ctroupin opened this issue Jan 21, 2025 · 0 comments
Assignees

Comments

@ctroupin
Copy link
Member

ctroupin commented Jan 21, 2025

In 05-plots-maps.ipynb, the plots displaying arrows with GeoAxis don't appear on the screen.

✅ this works

fig = Figure();
r = 2;
ga = Axis(fig[1, 1])
arrows!(ga, uvlon[1:r:end], uvlat[1:r:end], uvel[1:r:end, 1:r:end, 1], vvel[1:r:end, 1:r:end], arrowsize = 4, lengthscale = 4)
fig

❌ this doesn't

fig = Figure();
r = 2;
ga = GeoAxis(fig[1, 1])
arrows!(ga, uvlon[1:r:end], uvlat[1:r:end], uvel[1:r:end, 1:r:end, 1], vvel[1:r:end, 1:r:end], arrowsize = 4, lengthscale = 4)
fig

Note: the example notebook from https://geo.makie.org/v0.7.3/examples/cartopy/arrows doesn't work either.

Pkg.status()
julia Status `~/Projects/Diva-Workshops/Project.toml` [336ed68f] CSV v0.10.15 ⌃ [13f3f980] CairoMakie v0.12.18 [35d6a980] ColorSchemes v3.27.1 [34da2185] Compat v4.16.0 [efc8151c] DIVAnd v2.7.12 [864edb3b] DataStructures v0.18.20 [8bb1440f] DelimitedFiles v1.9.1 [b16dfd50] GRIB v0.4.0 [2fb1d81b] GeoArrays v0.9.3 [ddc7317b] GeoDatasets v0.1.8 [61d90e0f] GeoJSON v0.8.1 [db073c08] GeoMakie v0.7.10 [4d00f742] GeometryTypes v0.8.5 [7073ff75] IJulia v1.26.0 [a98d9a8b] Interpolations v0.15.1 [b8b539d8] JupyterFormatter v0.1.1 [23992714] MAT v0.10.7 ⌅ [ee78f7c6] Makie v0.21.18 [e1d29d7a] Missings v1.2.0 [85f8d34a] NCDatasets v0.14.6 [3725be50] PhysOcean v0.6.11 `[https://github.com/gher-uliege/PhysOcean.jl.git#master`](https://github.com/gher-uliege/PhysOcean.jl.git#master%60) [f2b01f46] Roots v2.2.4 [10745b16] Statistics v1.11.1 [8d837e6f] TIFFDatasets v0.1.1 [3d5dd08c] VectorizationBase v0.21.71 [ade2ca70] Dates v1.11.0 [37e2e46d] LinearAlgebra v1.11.0 [56ddb016] Logging v1.11.0 [44cfe95a] Pkg v1.11.0 [de0858da] Printf v1.11.0 [9a3f8284] Random v1.11.0 [8dfed614] Test v1.11.0 Info Packages marked with ⌃ and ⌅ have new versions available. Those with ⌃ may be upgradable, but those with ⌅ are restricted by compatibility constraints from upgrading. To see why use `status --outdated`
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

1 participant