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: GenomeSpySchema

Generated wrapper for MarkConfig.

Methods

buildIndex(value)

Return a copy with buildIndex updated.

clamp(value)

Return a copy with clamp updated.

clip(value)

Return a copy with clip updated.

color([value, expr])

Return a copy with a ExprRef color.

copy(*[, deep])

Return a copy with optional keyword updates.

cullByVisibleRange(value)

Return a copy with cullByVisibleRange updated.

cursor([value, expr])

Return a copy with a ExprRef cursor.

opacity([value, expr])

Return a copy with a ExprRef opacity.

resolve_references()

Return this class schema with referenced properties merged in.

style(value)

Return a copy with style updated.

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 tooltip updated.

validate(instance)

Validate an instance against this wrapper's schema.

x([value, expr])

Return a copy with a ExprRef x.

x2Offset([value, expr])

Return a copy with a ExprRef x2Offset.

xOffset([value, expr])

Return a copy with a ExprRef xOffset.

y([value, expr])

Return a copy with a ExprRef y.

y2Offset([value, expr])

Return a copy with a ExprRef y2Offset.

yOffset([value, expr])

Return a copy with a ExprRef yOffset.

buildIndex(value)View on GitHub

Return a copy with buildIndex updated.

clamp(value)View on GitHub

Return a copy with clamp updated.

clip(value)View on GitHub

Return a copy with clip updated.

color(value=Undefined, /, *, expr=Undefined)View on GitHub

Return a copy with a ExprRef color.

Parameters:

expr (str) – The expression string.

cullByVisibleRange(value)View on GitHub

Return a copy with cullByVisibleRange updated.

cursor(value=Undefined, /, *, expr=Undefined)View on GitHub

Return a copy with a ExprRef cursor.

Parameters:

expr (str) – The expression string.

opacity(value=Undefined, /, *, expr=Undefined)View on GitHub

Return a copy with a ExprRef opacity.

Parameters:

expr (str) – The expression string.

style(value)View on GitHub

Return a copy with style updated.

tooltip(value=Undefined, /, *, handler=Undefined, params=Undefined)View on GitHub

Return a copy with tooltip updated.

Parameters:
  • handler (str) – Schema-defined handler property.

  • params (dict[str, Any]) – Schema-defined params property.

x(value=Undefined, /, *, expr=Undefined)View on GitHub

Return a copy with a ExprRef x.

Parameters:

expr (str) – The expression string.

x2Offset(value=Undefined, /, *, expr=Undefined)View on GitHub

Return a copy with a ExprRef x2Offset.

Parameters:

expr (str) – The expression string.

xOffset(value=Undefined, /, *, expr=Undefined)View on GitHub

Return a copy with a ExprRef xOffset.

Parameters:

expr (str) – The expression string.

y(value=Undefined, /, *, expr=Undefined)View on GitHub

Return a copy with a ExprRef y.

Parameters:

expr (str) – The expression string.

y2Offset(value=Undefined, /, *, expr=Undefined)View on GitHub

Return a copy with a ExprRef y2Offset.

Parameters:

expr (str) – The expression string.

yOffset(value=Undefined, /, *, expr=Undefined)View on GitHub

Return a copy with a ExprRef yOffset.

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.