Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect rendition when using oz/view! #196

Open
mortenschioler opened this issue Nov 25, 2022 · 0 comments
Open

Incorrect rendition when using oz/view! #196

mortenschioler opened this issue Nov 25, 2022 · 0 comments

Comments

@mortenschioler
Copy link

mortenschioler commented Nov 25, 2022

Heya! Watched your talk https://www.youtube.com/watch?v=hXq5Bb40zZY&ab_channel=Amperity. Good stuff and kudos -- I may want to sponsor and/or contribute in the future.

Unfortunately oz is not giving me the predictable rendering I was looking for. Consider the vega-lite doc https://gist.github.com/mortenschioler/66c5d5b935913ab66f48d86ebba46bea. In https://vega.github.io/editor/, I get a nice boxplot:
image
But in oz ((for [oz-v ["1.6.0-alpha36" "2.0.0-alpha5"] clojure-v ["1.10.1" 1.11.1"]])) there's no box in my boxplot:

image

This is from calling (oz/view! (json/read (io/reader "vega-lite.json"))). Even though I can't see the plot, there are on-hover hints for the median etc.

I got other plots to work, although I think there's a tendency for the renditions to be a little bit grainy unless I input a high width. I have not installed any javascript packages or the like.

Thoughts?

@mortenschioler mortenschioler changed the title Incorrect rendering Incorrect rendition when using oz/view! Nov 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant