Skip to content

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

Description

@lassepe

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions