genome_spy.TextConfig¶
- class genome_spy.TextConfig(align=Undefined, angle=Undefined, baseline=Undefined, buildIndex=Undefined, clamp=Undefined, clip=Undefined, color=Undefined, cullByVisibleRange=Undefined, cursor=Undefined, dx=Undefined, dy=Undefined, fitToBand=Undefined, flushX=Undefined, flushY=Undefined, font=Undefined, fontStyle=Undefined, fontWeight=Undefined, logoLetters=Undefined, opacity=Undefined, paddingX=Undefined, paddingY=Undefined, size=Undefined, squeeze=Undefined, style=Undefined, text=Undefined, tooltip=Undefined, viewportEdgeFadeDistanceBottom=Undefined, viewportEdgeFadeDistanceLeft=Undefined, viewportEdgeFadeDistanceRight=Undefined, viewportEdgeFadeDistanceTop=Undefined, viewportEdgeFadeWidthBottom=Undefined, viewportEdgeFadeWidthLeft=Undefined, viewportEdgeFadeWidthRight=Undefined, viewportEdgeFadeWidthTop=Undefined, x=Undefined, x2=Undefined, x2Offset=Undefined, xOffset=Undefined, y=Undefined, y2=Undefined, y2Offset=Undefined, yOffset=Undefined, **kwds)View on GitHub¶
Bases:
GenomeSpySchemaGenerated wrapper for
TextConfig.Methods
align(value)Return a copy with
alignupdated.angle([value, expr])Return a copy with a
ExprRefangle.baseline(value)Return a copy with
baselineupdated.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.dx(value)Return a copy with
dxupdated.dy(value)Return a copy with
dyupdated.fitToBand([value, expr])Return a copy with a
ExprReffitToBand.flushX([value, expr])Return a copy with a
ExprRefflushX.flushY([value, expr])Return a copy with a
ExprRefflushY.font(value)Return a copy with
fontupdated.fontStyle(value)Return a copy with
fontStyleupdated.fontWeight(value)Return a copy with
fontWeightupdated.logoLetters([value, expr])Return a copy with a
ExprReflogoLetters.opacity([value, expr])Return a copy with a
ExprRefopacity.paddingX([value, expr])Return a copy with a
ExprRefpaddingX.paddingY([value, expr])Return a copy with a
ExprRefpaddingY.Return this class schema with referenced properties merged in.
size([value, expr])Return a copy with a
ExprRefsize.squeeze([value, expr])Return a copy with a
ExprRefsqueeze.style(value)Return a copy with
styleupdated.text([value, expr])Return a copy with
textupdated.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.
viewportEdgeFadeDistanceBottom([value, expr])Return a copy with a
ExprRefviewportEdgeFadeDistanceBottom.viewportEdgeFadeDistanceLeft([value, expr])Return a copy with a
ExprRefviewportEdgeFadeDistanceLeft.viewportEdgeFadeDistanceRight([value, expr])Return a copy with a
ExprRefviewportEdgeFadeDistanceRight.viewportEdgeFadeDistanceTop([value, expr])Return a copy with a
ExprRefviewportEdgeFadeDistanceTop.viewportEdgeFadeWidthBottom([value, expr])Return a copy with a
ExprRefviewportEdgeFadeWidthBottom.viewportEdgeFadeWidthLeft([value, expr])Return a copy with a
ExprRefviewportEdgeFadeWidthLeft.viewportEdgeFadeWidthRight([value, expr])Return a copy with a
ExprRefviewportEdgeFadeWidthRight.viewportEdgeFadeWidthTop([value, expr])Return a copy with a
ExprRefviewportEdgeFadeWidthTop.x([value, expr])Return a copy with a
ExprRefx.x2([value, expr])Return a copy with a
ExprRefx2.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.y2([value, expr])Return a copy with a
ExprRefy2.y2Offset([value, expr])Return a copy with a
ExprRefy2Offset.yOffset([value, expr])Return a copy with a
ExprRefyOffset.- align(value)View on GitHub¶
Return a copy with
alignupdated.
- 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.
- 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.
- dx(value)View on GitHub¶
Return a copy with
dxupdated.
- dy(value)View on GitHub¶
Return a copy with
dyupdated.
- fitToBand(value=Undefined, /, *, expr=Undefined)View on GitHub¶
Return a copy with a
ExprReffitToBand.- Parameters:
expr (str) – The expression string.
- flushX(value=Undefined, /, *, expr=Undefined)View on GitHub¶
Return a copy with a
ExprRefflushX.- Parameters:
expr (str) – The expression string.
- flushY(value=Undefined, /, *, expr=Undefined)View on GitHub¶
Return a copy with a
ExprRefflushY.- Parameters:
expr (str) – The expression string.
- font(value)View on GitHub¶
Return a copy with
fontupdated.
- fontStyle(value)View on GitHub¶
Return a copy with
fontStyleupdated.
- fontWeight(value)View on GitHub¶
Return a copy with
fontWeightupdated.
- logoLetters(value=Undefined, /, *, expr=Undefined)View on GitHub¶
Return a copy with a
ExprReflogoLetters.- 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.
- paddingX(value=Undefined, /, *, expr=Undefined)View on GitHub¶
Return a copy with a
ExprRefpaddingX.- Parameters:
expr (str) – The expression string.
- paddingY(value=Undefined, /, *, expr=Undefined)View on GitHub¶
Return a copy with a
ExprRefpaddingY.- Parameters:
expr (str) – The expression string.
- size(value=Undefined, /, *, expr=Undefined)View on GitHub¶
Return a copy with a
ExprRefsize.- Parameters:
expr (str) – The expression string.
- squeeze(value=Undefined, /, *, expr=Undefined)View on GitHub¶
Return a copy with a
ExprRefsqueeze.- Parameters:
expr (str) – The expression string.
- style(value)View on GitHub¶
Return a copy with
styleupdated.
- text(value=Undefined, /, *, expr=Undefined)View on GitHub¶
Return a copy with
textupdated.- Parameters:
expr (str) – The expression string.
- tooltip(value=Undefined, /, *, handler=Undefined, params=Undefined)View on GitHub¶
Return a copy with
tooltipupdated.
- viewportEdgeFadeDistanceBottom(value=Undefined, /, *, expr=Undefined)View on GitHub¶
Return a copy with a
ExprRefviewportEdgeFadeDistanceBottom.- Parameters:
expr (str) – The expression string.
- viewportEdgeFadeDistanceLeft(value=Undefined, /, *, expr=Undefined)View on GitHub¶
Return a copy with a
ExprRefviewportEdgeFadeDistanceLeft.- Parameters:
expr (str) – The expression string.
- viewportEdgeFadeDistanceRight(value=Undefined, /, *, expr=Undefined)View on GitHub¶
Return a copy with a
ExprRefviewportEdgeFadeDistanceRight.- Parameters:
expr (str) – The expression string.
- viewportEdgeFadeDistanceTop(value=Undefined, /, *, expr=Undefined)View on GitHub¶
Return a copy with a
ExprRefviewportEdgeFadeDistanceTop.- Parameters:
expr (str) – The expression string.
- viewportEdgeFadeWidthBottom(value=Undefined, /, *, expr=Undefined)View on GitHub¶
Return a copy with a
ExprRefviewportEdgeFadeWidthBottom.- Parameters:
expr (str) – The expression string.
- viewportEdgeFadeWidthLeft(value=Undefined, /, *, expr=Undefined)View on GitHub¶
Return a copy with a
ExprRefviewportEdgeFadeWidthLeft.- Parameters:
expr (str) – The expression string.
- viewportEdgeFadeWidthRight(value=Undefined, /, *, expr=Undefined)View on GitHub¶
Return a copy with a
ExprRefviewportEdgeFadeWidthRight.- Parameters:
expr (str) – The expression string.
- viewportEdgeFadeWidthTop(value=Undefined, /, *, expr=Undefined)View on GitHub¶
Return a copy with a
ExprRefviewportEdgeFadeWidthTop.- Parameters:
expr (str) – The expression string.
- x(value=Undefined, /, *, expr=Undefined)View on GitHub¶
Return a copy with a
ExprRefx.- Parameters:
expr (str) – The expression string.
- x2(value=Undefined, /, *, expr=Undefined)View on GitHub¶
Return a copy with a
ExprRefx2.- 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.
- y2(value=Undefined, /, *, expr=Undefined)View on GitHub¶
Return a copy with a
ExprRefy2.- 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.