-
Notifications
You must be signed in to change notification settings - Fork 38
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
point selection is not working #407
Comments
Hey! Just a few thoughts on debugging this:
You can do this by appending
Reprex: data |> @vlplot(:rect, x="Cylinders:o", y="Origin",
selection={pts={type="point"}},
color={condition={
selection="pts",
aggregate="count"
}, value="grey"}) |> save("test.png")
I think this likely indicates that we're hitting a Vega-lite js bug which is fixed in version 5.1.1 (browser version), but is present in 3.0.11, the version of Vega-lite which this package currently uses. See here. Unfortunately, binaries are still a pain point in this package which is otherwise astoundingly useful and fun for getting a nice plot on a page (and for < makie.jl scale datasets). Sorry I can't provide a cure ATM, but hope the diagnosis is useful / accurate. ;) |
Thanks! I can see the same error on my computer.
|
Hi! I was trying the examples on Vega-Lite documentation, and I have found that this example works fine with
interval
but it doesn't work withpoint
usingVegaLite
:Julia 1.6.2 & Ubuntu:
P.S.: I am finding it hard to use VegaLite interactivity with
@vlplot
following theparams
documentation of Vega-Lite. It would be awesome to have a section on interactivity in theVegaLite.jl
docs :)The text was updated successfully, but these errors were encountered: