You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SchemaValidationError: Invalid specification
altair.vegalite.v4.schema.channels.ColorValue, validating 'additionalProperties'
Additional properties are not allowed ('or' was unexpected)
This actually works, but the syntax is contrived and this approach doesn't seem documented. Should the API be improved, or am I missing something here?
The text was updated successfully, but these errors were encountered:
@dechamps I am going through Altair issues to find those that have been resolved and can be closed. It looks to me like this issue has been solved so I am closing it, but please feel free to reopen and add a comment if there is something you don't think is resolved yet.
I want to OR two predicates in an
alt.condition()
call.Initially I just assumed I could use a similar syntax as for
transform_filter()
:But that doesn't work:
Then I thought maybe the operators would work:
But nope:
After fumbling around in the dark for some time, this is the best I came up with:
This actually works, but the syntax is contrived and this approach doesn't seem documented. Should the API be improved, or am I missing something here?
The text was updated successfully, but these errors were encountered: