genome_spy.DynamicOpacity

class genome_spy.DynamicOpacity(channel=Undefined, unitsPerPixel=Undefined, values=Undefined, **kwds)View on GitHub

Bases: GenomeSpySchema

Generated wrapper for DynamicOpacity.

Methods

channel(value)

Return a copy with channel updated.

copy(*[, deep])

Return a copy with optional keyword updates.

resolve_references()

Return this class schema with referenced properties merged in.

to_dict(*[, validate])

Serialize this schema wrapper to a JSON-compatible dictionary.

to_json(*[, validate])

Serialize this schema wrapper to formatted JSON.

unitsPerPixel(value)

Return a copy with unitsPerPixel updated.

validate(instance)

Validate an instance against this wrapper's schema.

values(value)

Return a copy with values updated.

channel(value)View on GitHub

Return a copy with channel updated.

unitsPerPixel(value)View on GitHub

Return a copy with unitsPerPixel updated.

values(value)View on GitHub

Return a copy with values updated.

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.