You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ah, I forgot that Tyler can't work with CairoMakie as long as it plots meshes, because Cairo's mesh handling only interpolates colors between vertices (it can't handle UVs).
Since Tyler has switched to image plots for web mercator axes, and meshimage for GeoAxis, it should work pretty smoothly with CairoMakie now. One last issue to iron out is MakieOrg/Makie.jl#4694. But otherwise you do not need a GL backend at all for Tyler.
however, the following gives me what I want, only one plot 😄, passing that new axis seems to be the issue 🤔
with_theme(theme_dark()) do
m=Tyler.Map(london; provider, figure=Figure(; size=(650,400)))
m.axis.aspect=650/400hidedecorations!(m.axis)
hidespines!(m.axis)
m
end
note: an extra image is displayed on my screen, but not capture in the notebook, the notebook only contains the last one.
Activity
SimonDanisch commentedon Feb 3, 2023
Uh, it's a bit unfortunate, but, yeah cairomakie doesn't work right now, but should be easy to fix...
WGLMakie definitely works though!
asinghvi17 commentedon Apr 24, 2024
Why exactly does Tyler require access to the screen? Is it just to know when not to run the download task?
lazarusA commentedon Apr 24, 2024
Latest release doesn't require a window open. However, cairomakie is still failing, somehow...
asinghvi17 commentedon Apr 24, 2024
Ah, I forgot that Tyler can't work with CairoMakie as long as it plots meshes, because Cairo's mesh handling only interpolates colors between vertices (it can't handle UVs).
asinghvi17 commentedon Dec 31, 2024
Since Tyler has switched to image plots for web mercator axes, and meshimage for GeoAxis, it should work pretty smoothly with CairoMakie now. One last issue to iron out is MakieOrg/Makie.jl#4694. But otherwise you do not need a GL backend at all for Tyler.
lazarusA commentedon Jul 28, 2025
On notebooks (in this case Quarto), any hints on how to avoid the double display figure? Also, this works now, we should close this issue.
SimonDanisch commentedon Jul 28, 2025
I thought i did remove the double display in the update for Makie@0.24:
https://github.com/MakieOrg/Tyler.jl/blob/master/src/map.jl#L260-L293
asinghvi17 commentedon Jul 28, 2025
Only if it has been displayed before
Tyler.jl/src/map.jl
Line 275 in 2f38832
lazarusA commentedon Jul 28, 2025
I only observe this with this sequence (and again, this is in Quarto, I haven't checked on Jupyter notebooks):
asinghvi17 commentedon Jul 28, 2025
Ah yeah. If you return the map from there you might be OK and don't call
waiton the map? Not sure if that will help.lazarusA commentedon Jul 28, 2025
no, even without the wait, we still show 2 plots.
asinghvi17 commentedon Jul 28, 2025
ah that is unfortunate. Then it's probably tied to the architecture that the tyler process keeps running only if there is an active screen...
lazarusA commentedon Jul 28, 2025
however, the following gives me what I want, only one plot 😄, passing that new axis seems to be the issue 🤔
note: an extra image is displayed on my screen, but not capture in the notebook, the notebook only contains the last one.
alex-s-gardner commentedon Nov 22, 2025
Tyler now produces empty map with
CairoMakievs.
SimonDanisch commentedon Nov 25, 2025
I'm guessing its not waiting correctly to load all tiles
dmetivie commentedon Jul 4, 2026
It still does not work for me. It would be amazing to have CairoMakie support!