WGLMakie doesn't display in browser

I’m trying to copy the jsserve-wglmakie example. I cloned JSServe.jl, installed WGLMakie and ran

JSServe.browser_display()
app = App() do 
       return scatter(1:5,1:5)
       end

display(app)

but the page in the browser just says “nothing to see”.

I’m not sure what is wrong. What should be the smallest code I can run to produce a WGLMakie plot with a julia server?

Your example works from the REPL on Linux. If I visit the URL http://localhost:9284/ I see the message you describe, however the URL http://localhost:9284/browser-display is automatically opened and shows the plot.

1 Like

On Julia 1.6 it works. Thanks.