Fork me on GitHub
#clerk
<
2024-02-06
>
otfrom09:02:43

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.

Andrea09:02:55

hi @U0525KG62, 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

otfrom10:02:56

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

Andrea10:02:37

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

otfrom10:02:42

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

otfrom10:02:03

which browser?

otfrom08:02:53

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

otfrom08:02:52

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

👍 1
anthony-galea06:02:18

it was a pleasure to write using clerk 🙏

🖤 1
❤️ 1