altair.ChainedWhen#
- class altair.ChainedWhen(condition, conditions, /)#
Utility class for
when-then-otherwiseconditions.Represents the state after calling
when().then().when().This partial state requires calling
ChainedWhen.then()to finish the condition.References
- __init__(condition, conditions, /)#
Methods
__init__(condition, conditions, /)then(statement, /, **kwds)Attach a statement to this predicate.