genome_spy.MarkConfig¶
- class genome_spy.MarkConfig(buildIndex=Undefined, clamp=Undefined, clip=Undefined, color=Undefined, cullByVisibleRange=Undefined, cursor=Undefined, opacity=Undefined, style=Undefined, tooltip=Undefined, x=Undefined, x2Offset=Undefined, xOffset=Undefined, y=Undefined, y2Offset=Undefined, yOffset=Undefined, **kwds)View on GitHub¶
Bases:
GenomeSpySchemaGenerated wrapper for
MarkConfig.Methods
buildIndex(value)Return a copy with
buildIndexupdated.clamp(value)Return a copy with
clampupdated.clip(value)Return a copy with
clipupdated.color([value, expr])Return a copy with a
ExprRefcolor.copy(*[, deep])Return a copy with optional keyword updates.
cullByVisibleRange(value)Return a copy with
cullByVisibleRangeupdated.cursor([value, expr])Return a copy with a
ExprRefcursor.opacity([value, expr])Return a copy with a
ExprRefopacity.Return this class schema with referenced properties merged in.
style(value)Return a copy with
styleupdated.to_dict(*[, validate])Serialize this schema wrapper to a JSON-compatible dictionary.
to_json(*[, validate])Serialize this schema wrapper to formatted JSON.
tooltip([value, handler, params])Return a copy with
tooltipupdated.validate(instance)Validate an instance against this wrapper's schema.
x([value, expr])Return a copy with a
ExprRefx.x2Offset([value, expr])Return a copy with a
ExprRefx2Offset.xOffset([value, expr])Return a copy with a
ExprRefxOffset.y([value, expr])Return a copy with a
ExprRefy.y2Offset([value, expr])Return a copy with a
ExprRefy2Offset.yOffset([value, expr])Return a copy with a
ExprRefyOffset.- buildIndex(value)View on GitHub¶
Return a copy with
buildIndexupdated.
- clamp(value)View on GitHub¶
Return a copy with
clampupdated.
- clip(value)View on GitHub¶
Return a copy with
clipupdated.
- color(value=Undefined, /, *, expr=Undefined)View on GitHub¶
Return a copy with a
ExprRefcolor.- Parameters:
expr (str) – The expression string.
- cullByVisibleRange(value)View on GitHub¶
Return a copy with
cullByVisibleRangeupdated.
- cursor(value=Undefined, /, *, expr=Undefined)View on GitHub¶
Return a copy with a
ExprRefcursor.- Parameters:
expr (str) – The expression string.
- opacity(value=Undefined, /, *, expr=Undefined)View on GitHub¶
Return a copy with a
ExprRefopacity.- Parameters:
expr (str) – The expression string.
- style(value)View on GitHub¶
Return a copy with
styleupdated.
- tooltip(value=Undefined, /, *, handler=Undefined, params=Undefined)View on GitHub¶
Return a copy with
tooltipupdated.
- x(value=Undefined, /, *, expr=Undefined)View on GitHub¶
Return a copy with a
ExprRefx.- Parameters:
expr (str) – The expression string.
- x2Offset(value=Undefined, /, *, expr=Undefined)View on GitHub¶
Return a copy with a
ExprRefx2Offset.- Parameters:
expr (str) – The expression string.
- xOffset(value=Undefined, /, *, expr=Undefined)View on GitHub¶
Return a copy with a
ExprRefxOffset.- Parameters:
expr (str) – The expression string.
- y(value=Undefined, /, *, expr=Undefined)View on GitHub¶
Return a copy with a
ExprRefy.- Parameters:
expr (str) – The expression string.
- y2Offset(value=Undefined, /, *, expr=Undefined)View on GitHub¶
Return a copy with a
ExprRefy2Offset.- Parameters:
expr (str) – The expression string.
- yOffset(value=Undefined, /, *, expr=Undefined)View on GitHub¶
Return a copy with a
ExprRefyOffset.- Parameters:
expr (str) – The expression string.
- 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.