This website is for version 5. You can find the documentation for version 4 here.

altair.BindRange#

class altair.BindRange(input=Undefined, debounce=Undefined, element=Undefined, max=Undefined, min=Undefined, name=Undefined, step=Undefined, **kwds)#

BindRange schema wrapper

Parameters:
inputstr
debouncefloat

If defined, delays event handling until the specified milliseconds have elapsed since the last event was fired.

elementstr, Element

An optional CSS selector string indicating the parent element to which the input element should be added. By default, all input elements are added within the parent container of the Vega view.

maxfloat

Sets the maximum slider value. Defaults to the larger of the signal value and 100.

minfloat

Sets the minimum slider value. Defaults to the smaller of the signal value and 0.

namestr

By default, the signal name is used to label input elements. This name property can be used instead to specify a custom label for the bound signal.

stepfloat

Sets the minimum slider increment. If undefined, the step size will be automatically determined based on the min and max values.

__init__(input=Undefined, debounce=Undefined, element=Undefined, max=Undefined, min=Undefined, name=Undefined, step=Undefined, **kwds)#

Methods

__init__([input, debounce, element, max, ...])

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, indent, sort_keys, ...])

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