Skip to content

Incorrect rendition when using oz/view! #196

@mortenschioler

Description

@mortenschioler

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions