genome_spy.CategorySelectionParameterFill¶
- class genome_spy.CategorySelectionParameterFill(bind=Undefined, description=Undefined, name=Undefined, persist=Undefined, push=Undefined, select=Undefined, value=Undefined, **kwds)View on GitHub¶
Bases:
GenomeSpySchemaGenerated wrapper for
CategorySelectionParameter<"fill">.Methods
bind(value)Return a copy with
bindupdated.copy(*[, deep])Return a copy with optional keyword updates.
description(value)Return a copy with
descriptionupdated.name(value)Return a copy with
nameupdated.persist(value)Return a copy with
persistupdated.push(value)Return a copy with
pushupdated.Return this class schema with referenced properties merged in.
select([value, clear, encodings, on, ...])Return a copy with
selectupdated.to_dict(*[, validate])Serialize this schema wrapper to a JSON-compatible dictionary.
to_json(*[, validate])Serialize this schema wrapper to formatted JSON.
validate(instance)Validate an instance against this wrapper's schema.
value(value)Return a copy with
valueupdated.- bind(value)View on GitHub¶
Return a copy with
bindupdated.
- description(value)View on GitHub¶
Return a copy with
descriptionupdated.
- name(value)View on GitHub¶
Return a copy with
nameupdated.
- persist(value)View on GitHub¶
Return a copy with
persistupdated.
- push(value)View on GitHub¶
Return a copy with
pushupdated.
- select(value=Undefined, /, *, clear=Undefined, encodings=Undefined, on=Undefined, toggle=Undefined, type=Undefined)View on GitHub¶
Return a copy with
selectupdated.- Parameters:
clear (DomEventType_T | EventConfig | EventConfigKwds | str | bool) – A string or object that defines the events that should clear the selection. Set to
falseto disable these events. Legend-bound point selections also reset on unmodified background clicks, independently of this property. __Default value:__"dblclick"; noclearevent for legend-bound point selections.encodings (Sequence[Literal['fill']]) – Schema-defined
encodingsproperty.on (DomEventType_T | EventConfig | EventConfigKwds | str) – A string or object that defines the events to which the selection should listen. __Default value:__ - point selections:
"click"- interval selections: -"mousedown[event.shiftKey]"when any brushed channel is zoomable -"mousedown"otherwisetoggle (bool) – Controls whether input events with Shift pressed add or remove selected values. -
true– values can be added or removed while holding Shift. -false– only a single value can be selected at a time. __Default value:__truewhenonuses"click",falseotherwise.type (Literal['point']) – The selection type. -
"point"– to select multiple discrete data values; the first value is selected onclickand additional values toggled on shift-click. -"interval"– to select a continuous range of data values ondrag.
- value(value)View on GitHub¶
Return a copy with
valueupdated.
- copy(*, deep=True, **kwds)View on GitHub¶
Return a copy with optional keyword updates.
- classmethod resolve_references()View on GitHub¶
Return this class schema with referenced properties merged in.
- to_dict(*, validate=True)View on GitHub¶
Serialize this schema wrapper to a JSON-compatible dictionary.
- to_json(*, validate=True)View on GitHub¶
Serialize this schema wrapper to formatted JSON.
- classmethod validate(instance)View on GitHub¶
Validate an instance against this wrapper’s schema.