Tyler in VSCode Notebook Prints Two Figures with 1 Call

I am using Tyler with CairoMakie in a Julia notebook in VSCode. I’m curious if there is a way to get Tyler to only display the figure with the tiles, not the first empty one.

There was some function to wait on the map but I forgot what it was. If I can dig it out I will let you know

Yep it’s wait(map). But keep in mind that Tyler is not really intended to work on cairomakie, so you may experience issues. Best to use a GL backend with Tyler.

Unfortunately there is not really a good way to stop the dual display at this point, since Tyler needs the figure to be displayed to stop it from infinitely looping

Okay, thanks! I’m using this to generate some figures for an academic journal, so I was trying to use Tyler with CairoMakie because it is recommended for publication quality figures.