Skip to content

Adapting Vega-Lite example "Bar Chart with Highlighting on Hover and Selection on Click" #3301

Closed
@ChristopherDavisUCI

Description

@ChristopherDavisUCI

This is a follow-up to #3295

@mattijn Thanks for linking this Vega-Lite example which I didn't know existed.

In that example, condition seems to take an array, but I don't see any mention of that as an option in the condition documentation, nor does our code seem to allow using lists for a condition, as far as I can tell:
https://github.com/altair-viz/altair/blob/d38409f8f50282d09507f90e490e65c0f0247b25/altair/vegalite/v5/api.py#L787-L796

Does that seem accurate to you? How would you suggest we approach that?

Needless to say, I'm happy for comments from anyone!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions