genome_spy.Title

class genome_spy.Title(align=Undefined, anchor=Undefined, angle=Undefined, baseline=Undefined, color=Undefined, dx=Undefined, dy=Undefined, font=Undefined, fontSize=Undefined, fontStyle=Undefined, fontWeight=Undefined, frame=Undefined, offset=Undefined, orient=Undefined, reserve=Undefined, style=Undefined, subtitle=Undefined, subtitleColor=Undefined, subtitleFont=Undefined, subtitleFontSize=Undefined, subtitleFontStyle=Undefined, subtitleFontWeight=Undefined, subtitlePadding=Undefined, text=Undefined, zindex=Undefined, **kwds)View on GitHub

Bases: GenomeSpySchema

Generated wrapper for Title.

Methods

align(value)

Return a copy with align updated.

anchor(value)

Return a copy with anchor updated.

angle([value, expr])

Return a copy with a ExprRef angle.

baseline(value)

Return a copy with baseline updated.

color([value, expr])

Return a copy with a ExprRef color.

copy(*[, deep])

Return a copy with optional keyword updates.

dx(value)

Return a copy with dx updated.

dy(value)

Return a copy with dy updated.

font(value)

Return a copy with font updated.

fontSize([value, expr])

Return a copy with a ExprRef fontSize.

fontStyle(value)

Return a copy with fontStyle updated.

fontWeight(value)

Return a copy with fontWeight updated.

frame(value)

Return a copy with frame updated.

offset(value)

Return a copy with offset updated.

orient(value)

Return a copy with orient updated.

reserve(value)

Return a copy with reserve updated.

resolve_references()

Return this class schema with referenced properties merged in.

style(value)

Return a copy with style updated.

subtitle([value, expr])

Return a copy with a ExprRef subtitle.

subtitleColor([value, expr])

Return a copy with a ExprRef subtitleColor.

subtitleFont(value)

Return a copy with subtitleFont updated.

subtitleFontSize([value, expr])

Return a copy with a ExprRef subtitleFontSize.

subtitleFontStyle(value)

Return a copy with subtitleFontStyle updated.

subtitleFontWeight(value)

Return a copy with subtitleFontWeight updated.

subtitlePadding(value)

Return a copy with subtitlePadding updated.

text([value, expr])

Return a copy with a ExprRef text.

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.

align(value)View on GitHub

Return a copy with align updated.

anchor(value)View on GitHub

Return a copy with anchor updated.

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

Return a copy with a ExprRef angle.

Parameters:

expr (str) – The expression string.

baseline(value)View on GitHub

Return a copy with baseline updated.

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

Return a copy with a ExprRef color.

Parameters:

expr (str) – The expression string.

dx(value)View on GitHub

Return a copy with dx updated.

dy(value)View on GitHub

Return a copy with dy updated.

font(value)View on GitHub

Return a copy with font updated.

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

Return a copy with a ExprRef fontSize.

Parameters:

expr (str) – The expression string.

fontStyle(value)View on GitHub

Return a copy with fontStyle updated.

fontWeight(value)View on GitHub

Return a copy with fontWeight updated.

frame(value)View on GitHub

Return a copy with frame updated.

offset(value)View on GitHub

Return a copy with offset updated.

orient(value)View on GitHub

Return a copy with orient updated.

reserve(value)View on GitHub

Return a copy with reserve updated.

style(value)View on GitHub

Return a copy with style updated.

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

Return a copy with a ExprRef subtitle.

Parameters:

expr (str) – The expression string.

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

Return a copy with a ExprRef subtitleColor.

Parameters:

expr (str) – The expression string.

subtitleFont(value)View on GitHub

Return a copy with subtitleFont updated.

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

Return a copy with a ExprRef subtitleFontSize.

Parameters:

expr (str) – The expression string.

subtitleFontStyle(value)View on GitHub

Return a copy with subtitleFontStyle updated.

subtitleFontWeight(value)View on GitHub

Return a copy with subtitleFontWeight updated.

subtitlePadding(value)View on GitHub

Return a copy with subtitlePadding updated.

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

Return a copy with a ExprRef text.

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.