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:
GenomeSpySchemaGenerated wrapper for
Title.Methods
align(value)Return a copy with
alignupdated.anchor(value)Return a copy with
anchorupdated.angle([value, expr])Return a copy with a
ExprRefangle.baseline(value)Return a copy with
baselineupdated.color([value, expr])Return a copy with a
ExprRefcolor.copy(*[, deep])Return a copy with optional keyword updates.
dx(value)Return a copy with
dxupdated.dy(value)Return a copy with
dyupdated.font(value)Return a copy with
fontupdated.fontSize([value, expr])Return a copy with a
ExprReffontSize.fontStyle(value)Return a copy with
fontStyleupdated.fontWeight(value)Return a copy with
fontWeightupdated.frame(value)Return a copy with
frameupdated.offset(value)Return a copy with
offsetupdated.orient(value)Return a copy with
orientupdated.reserve(value)Return a copy with
reserveupdated.Return this class schema with referenced properties merged in.
style(value)Return a copy with
styleupdated.subtitle([value, expr])Return a copy with a
ExprRefsubtitle.subtitleColor([value, expr])Return a copy with a
ExprRefsubtitleColor.subtitleFont(value)Return a copy with
subtitleFontupdated.subtitleFontSize([value, expr])Return a copy with a
ExprRefsubtitleFontSize.subtitleFontStyle(value)Return a copy with
subtitleFontStyleupdated.subtitleFontWeight(value)Return a copy with
subtitleFontWeightupdated.subtitlePadding(value)Return a copy with
subtitlePaddingupdated.text([value, expr])Return a copy with a
ExprReftext.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
zindexupdated.- align(value)View on GitHub¶
Return a copy with
alignupdated.
- anchor(value)View on GitHub¶
Return a copy with
anchorupdated.
- angle(value=Undefined, /, *, expr=Undefined)View on GitHub¶
Return a copy with a
ExprRefangle.- Parameters:
expr (str) – The expression string.
- baseline(value)View on GitHub¶
Return a copy with
baselineupdated.
- color(value=Undefined, /, *, expr=Undefined)View on GitHub¶
Return a copy with a
ExprRefcolor.- Parameters:
expr (str) – The expression string.
- dx(value)View on GitHub¶
Return a copy with
dxupdated.
- dy(value)View on GitHub¶
Return a copy with
dyupdated.
- font(value)View on GitHub¶
Return a copy with
fontupdated.
- fontSize(value=Undefined, /, *, expr=Undefined)View on GitHub¶
Return a copy with a
ExprReffontSize.- Parameters:
expr (str) – The expression string.
- fontStyle(value)View on GitHub¶
Return a copy with
fontStyleupdated.
- fontWeight(value)View on GitHub¶
Return a copy with
fontWeightupdated.
- frame(value)View on GitHub¶
Return a copy with
frameupdated.
- offset(value)View on GitHub¶
Return a copy with
offsetupdated.
- orient(value)View on GitHub¶
Return a copy with
orientupdated.
- reserve(value)View on GitHub¶
Return a copy with
reserveupdated.
- style(value)View on GitHub¶
Return a copy with
styleupdated.
- subtitle(value=Undefined, /, *, expr=Undefined)View on GitHub¶
Return a copy with a
ExprRefsubtitle.- Parameters:
expr (str) – The expression string.
- subtitleColor(value=Undefined, /, *, expr=Undefined)View on GitHub¶
Return a copy with a
ExprRefsubtitleColor.- Parameters:
expr (str) – The expression string.
- subtitleFont(value)View on GitHub¶
Return a copy with
subtitleFontupdated.
- subtitleFontSize(value=Undefined, /, *, expr=Undefined)View on GitHub¶
Return a copy with a
ExprRefsubtitleFontSize.- Parameters:
expr (str) – The expression string.
- subtitleFontStyle(value)View on GitHub¶
Return a copy with
subtitleFontStyleupdated.
- subtitleFontWeight(value)View on GitHub¶
Return a copy with
subtitleFontWeightupdated.
- subtitlePadding(value)View on GitHub¶
Return a copy with
subtitlePaddingupdated.
- text(value=Undefined, /, *, expr=Undefined)View on GitHub¶
Return a copy with a
ExprReftext.- Parameters:
expr (str) – The expression string.
- zindex(value)View on GitHub¶
Return a copy with
zindexupdated.
- 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.