We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
_FieldEqualType
1 parent d640933 commit 2d57d6eCopy full SHA for 2d57d6e
altair/vegalite/v5/api.py
@@ -543,11 +543,18 @@ def check_fields_and_encodings(parameter: Parameter, field_name: str) -> bool:
543
544
545
_FieldEqualType: TypeAlias = Union["IntoExpression", Parameter, SchemaBase]
546
-"""Permitted types for equality checks on field values:
+"""
547
+Permitted types for equality checks on field values.
548
+
549
+Applies to the following context(s):
550
551
+ import altair as alt
552
-- `datum.field == ...`
-- `FieldEqualPredicate(equal=...)`
-- `when(**constraints=...)`
553
+ alt.datum.field == ...
554
+ alt.FieldEqualPredicate(field="field", equal=...)
555
+ alt.when(field=...)
556
+ alt.when().then().when(field=...)
557
+ alt.Chart.transform_filter(field=...)
558
"""
559
560
0 commit comments