genome_spy.RulerMarkConfig

class genome_spy.RulerMarkConfig(fill=Undefined, fillOpacity=Undefined, opacity=Undefined, shadowBlur=Undefined, shadowColor=Undefined, shadowOffsetX=Undefined, shadowOffsetY=Undefined, shadowOpacity=Undefined, stroke=Undefined, strokeDash=Undefined, strokeWidth=Undefined, zindex=Undefined, **kwds)View on GitHub

Bases: GenomeSpySchema

Generated wrapper for RulerMarkConfig.

Methods

copy(*[, deep])

Return a copy with optional keyword updates.

fill([value, expr])

Return a copy with a ExprRef fill.

fillOpacity([value, expr])

Return a copy with a ExprRef fillOpacity.

opacity([value, expr])

Return a copy with a ExprRef opacity.

resolve_references()

Return this class schema with referenced properties merged in.

shadowBlur([value, expr])

Return a copy with a ExprRef shadowBlur.

shadowColor([value, expr])

Return a copy with a ExprRef shadowColor.

shadowOffsetX([value, expr])

Return a copy with a ExprRef shadowOffsetX.

shadowOffsetY([value, expr])

Return a copy with a ExprRef shadowOffsetY.

shadowOpacity([value, expr])

Return a copy with a ExprRef shadowOpacity.

stroke([value, expr])

Return a copy with a ExprRef stroke.

strokeDash(value)

Return a copy with strokeDash updated.

strokeWidth([value, expr])

Return a copy with a ExprRef strokeWidth.

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.

zindex(value)

Return a copy with zindex updated.

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

Return a copy with a ExprRef fill.

Parameters:

expr (str) – The expression string.

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

Return a copy with a ExprRef fillOpacity.

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.

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

Return a copy with a ExprRef shadowBlur.

Parameters:

expr (str) – The expression string.

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

Return a copy with a ExprRef shadowColor.

Parameters:

expr (str) – The expression string.

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

Return a copy with a ExprRef shadowOffsetX.

Parameters:

expr (str) – The expression string.

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

Return a copy with a ExprRef shadowOffsetY.

Parameters:

expr (str) – The expression string.

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

Return a copy with a ExprRef shadowOpacity.

Parameters:

expr (str) – The expression string.

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

Return a copy with a ExprRef stroke.

Parameters:

expr (str) – The expression string.

strokeDash(value)View on GitHub

Return a copy with strokeDash updated.

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

Return a copy with a ExprRef strokeWidth.

Parameters:

expr (str) – The expression string.

zindex(value)View on GitHub

Return a copy with zindex 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.