clerk 2024-02-06

Is there a way to use a more up to date version of vega-lite than currently in clerk? I've got some issues with a chart that works fine when I load it into the vega editor, but doesn't have all the bells and whistles when running inside the clerk notebook.

updated chrome and still broken for me (on nix). It works fine on Firefox tho. so 🀷

@andrea712 thx for having a look. I'll figure out what is broken on my side

πŸ‘ 1

hi @otfrom, could you paste the spec you’re trying to render? Clerk is currently using vega-embed v6.11.1, while the latest is v6.24.0 and we can bump that I guess https://github.com/nextjournal/clerk/blob/c741fcd021c333d6d3fb2ba000cc04bb5d3e8251/src/nextjournal/clerk/render.cljs#L895-L913

I don't get the rule or the circles on mouseover in the clerk notebook but they turn up fine in the vega editor

hmm, it must be something else than the version, I see the ruler and the circles (with version 6.11.1 of vega embed)

there is a bug in that w/the number being shown in the tooltip, but I can wrestle that one down

I work on a lot of graphical libraries, so clerk is a great fit for documentation πŸ™ gratitude β€’ https://phronmophobic.github.io/clj-graphviz/ β€’ https://phronmophobic.github.io/membrane/styled-text/index.html β€’ https://phronmophobic.github.io/llama.clj/notebooks/intro.html β€’ https://phronmophobic.github.io/clj-media/

πŸ–€ 2
❀️ 2

it was a pleasure to write using clerk πŸ™

πŸ–€ 1
❀️ 1