genome_spy.Displace2DParams¶
- class genome_spy.Displace2DParams(anchorHeight=Undefined, anchorWidth=Undefined, animationHalfLife=Undefined, as_=Undefined, description=Undefined, height=Undefined, key=Undefined, type=Undefined, width=Undefined, x=Undefined, y=Undefined, **kwds)View on GitHub¶
Bases:
GenomeSpySchemaGenerated wrapper for
Displace2DParams.Methods
anchorHeight([value, expr])Return a copy with
anchorHeightupdated.anchorWidth([value, expr])Return a copy with
anchorWidthupdated.animationHalfLife([value, expr])Return a copy with a
ExprRefanimationHalfLife.as_(value)Return a copy with
asupdated.copy(*[, deep])Return a copy with optional keyword updates.
description(value)Return a copy with
descriptionupdated.height([value, expr])Return a copy with
heightupdated.key(value)Return a copy with
keyupdated.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.
type(value)Return a copy with
typeupdated.validate(instance)Validate an instance against this wrapper's schema.
width([value, expr])Return a copy with
widthupdated.x(value)Return a copy with
xupdated.y(value)Return a copy with
yupdated.- anchorHeight(value=Undefined, /, *, expr=Undefined)View on GitHub¶
Return a copy with
anchorHeightupdated.- Parameters:
expr (str) – The expression string.
- anchorWidth(value=Undefined, /, *, expr=Undefined)View on GitHub¶
Return a copy with
anchorWidthupdated.- Parameters:
expr (str) – The expression string.
- animationHalfLife(value=Undefined, /, *, expr=Undefined)View on GitHub¶
Return a copy with a
ExprRefanimationHalfLife.- Parameters:
expr (str) – The expression string.
- as_(value)View on GitHub¶
Return a copy with
asupdated.
- description(value)View on GitHub¶
Return a copy with
descriptionupdated.
- height(value=Undefined, /, *, expr=Undefined)View on GitHub¶
Return a copy with
heightupdated.- Parameters:
expr (str) – The expression string.
- key(value)View on GitHub¶
Return a copy with
keyupdated.
- type(value)View on GitHub¶
Return a copy with
typeupdated.
- width(value=Undefined, /, *, expr=Undefined)View on GitHub¶
Return a copy with
widthupdated.- Parameters:
expr (str) – The expression string.
- x(value)View on GitHub¶
Return a copy with
xupdated.
- y(value)View on GitHub¶
Return a copy with
yupdated.
- 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.