altair.DomainUnionWith

class altair.DomainUnionWith(unionWith=Undefined, **kwds)

DomainUnionWith schema wrapper

Mapping(required=[unionWith])

Attributes
unionWithanyOf(List(float), List(string), List(boolean), List(DateTime))

Customized domain values to be union with the field’s values.

  1. domain for quantitative fields can take one of the following forms:

  • a two-element array with minimum and maximum values. - an array with more than two entries, for Piecewise quantitative scales. (Alternatively, the domainMid property can be set for a diverging scale.) - a string value "unaggregated", if the input field is aggregated, to indicate that the domain should include the raw data values prior to the aggregation.

2) domain for temporal fields can be a two-element array minimum and maximum values, in the form of either timestamps or the DateTime definition objects.

3) domain for ordinal and nominal fields can be an array that lists valid input values.

__init__(unionWith=Undefined, **kwds)

Methods

__init__([unionWith])

copy([deep, ignore])

Return a copy of the object

from_dict(dct[, validate, _wrapper_classes])

Construct class from a dictionary representation

from_json(json_string[, validate])

Instantiate the object from a valid JSON string

resolve_references([schema])

Resolve references in the context of this object's schema or root schema.

to_dict([validate, ignore, context])

Return a dictionary representation of the object

to_json([validate, ignore, context, indent, ...])

Emit the JSON representation for this object as a string.

validate(instance[, schema])

Validate the instance against the class schema in the context of the rootschema.

validate_property(name, value[, schema])

Validate a property against property schema in the context of the rootschema