altair.DomainUnionWith#
- 类 altair.DomainUnionWith(unionWith=Undefined, **kwds)#
DomainUnionWith 模式包装器。
- 参数:
- unionWithSequence[str, bool, dict, float,
DateTime
] 要与字段值或显式定义的域联合的自定义域值。应为有效比例尺域值的数组。
- unionWithSequence[str, bool, dict, float,
- __init__(unionWith=Undefined, **kwds)#
方法
__init__
([unionWith])copy
([deep, ignore])返回对象的副本。
from_dict
(dct[, validate])从字典表示构建类。
from_json
(json_string[, validate])从有效的 JSON 字符串实例化对象。
resolve_references
([schema])在此对象的 schema 或根 schema 的上下文中解析引用。
to_dict
([validate, ignore, context])返回对象的字典表示。
to_json
([validate, indent, sort_keys, ...])将此对象的 JSON 表示作为字符串发出。
validate
(instance[, schema])在 rootschema 的上下文中根据类 schema 验证实例。
validate_property
(name, value[, schema])在 rootschema 的上下文中根据属性 schema 验证属性。