Skip to content
Discussion options

You must be logged in to vote

WGLMakie needs a running Julia server to render the figure and uses "Bonito" by default as documented.
Julia worker is closed upon rendering, so you need to change your Makie configuration to inline the figure instead of relying on a server.

edit: One way of doing the above

---
title: "WGLMakie and Quarto test"
format: html
engine: julia
---

```{julia}
using Pkg
Pkg.add("WGLMakie")
Pkg.add("Bonito")
using WGLMakie, Bonito
Page(exportable=true, offline=true)

fig, ax, sc = scatter(rand(5), rand(5))
fig
```

```{julia}
display(fig)
```

Replies: 5 comments 13 replies

Comment options

You must be logged in to vote
2 replies
@jbrea
Comment options

@jbrea
Comment options

Comment options

You must be logged in to vote
6 replies
@cscheid
Comment options

@SimonDanisch
Comment options

@jbrea
Comment options

@cscheid
Comment options

@SimonDanisch
Comment options

Comment options

You must be logged in to vote
1 reply
@jbrea
Comment options

Comment options

You must be logged in to vote
1 reply
@epfl-bio322
Comment options

Comment options

You must be logged in to vote
3 replies
@mcanouil
Comment options

Answer selected by mcanouil
@kescobo
Comment options

@mcanouil
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
engines-julia Anything related to Julia engine
7 participants