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

Color is rendered incorrectly if it is passed via datum. #83

Open
lassepe opened this issue Sep 22, 2020 · 0 comments
Open

Color is rendered incorrectly if it is passed via datum. #83

lassepe opened this issue Sep 22, 2020 · 0 comments
Labels

Comments

@lassepe
Copy link

lassepe commented Sep 22, 2020

On the current master, the color is rendered incorrectly if it is set via the datum property.

The bug can be reproduced using the following code:

using VegaLite: @vlplot
@vlplot() + @vlplot(mark = :point, x = rand(10), y = rand(10), color = {datum = "class 1"}) + @vlplot(mark = :point, x = rand(10), y = rand(10), color = {datum = "class 2"})

In Firefox and Chromium, this renders correctly as:

image

When using ElectronDisplay with the current master (e421241) the color channel is ignored:
image

Edit: This used to work with v0.8.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants