-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
Tyler + GridLayout throws error #46
Comments
You need to pass an axis, and not a gridlayout slot! |
I think you may be able to pass the ga to figure though, at least if you do fig[1:2, 1] |
🤦 ..... well that should have been obvious.. just to close out: This works f = Figure(resolution=(1912 * scale, 2284 * scale))
ax = Axis(f[1:2, 1])
m = Tyler.Map(extent; provider, figure = f, axis = ax); while this does not work f = Figure(resolution=(1912 * scale, 2284 * scale))
m = Tyler.Map(extent; provider, figure = f[1:2, 1]); |
@alex-s-gardner I think that |
So @rafaqz that error was only kicked cuz I was trying to ignoratly pass a gridlayout as an axis 🤦. m = Tyler.Map(extent; provider, figure = f[1:2, 1]); returns a different error related to the "title" keyword ERROR: MethodError: no method matching display(::GridPosition; title::String)
Closest candidates are:
display(::Any) got unsupported keyword argument "title"
@ Base multimedia.jl:336
display(::Union{Figure, Makie.FigureAxisPlot, Scene}; backend, update, screen_config...)
@ Makie ~/.julia/packages/Makie/Iqcri/src/display.jl:110
display(::GLMakie.Screen, ::Scene; connect) got unsupported keyword argument "title"
@ GLMakie ~/.julia/packages/GLMakie/XSSSf/src/display.jl:1 |
I know I just thought that doing that hits the line where you set |
It did indeed ! |
throws this error:
The text was updated successfully, but these errors were encountered: