genome_spy.Legend¶
- class genome_spy.Legend(backgroundFill=Undefined, backgroundFillOpacity=Undefined, backgroundStroke=Undefined, backgroundStrokeOpacity=Undefined, backgroundStrokeWidth=Undefined, columns=Undefined, direction=Undefined, gradientLength=Undefined, gradientOpacity=Undefined, gradientStrokeColor=Undefined, gradientStrokeWidth=Undefined, gradientThickness=Undefined, labelLimit=Undefined, offset=Undefined, orient=Undefined, padding=Undefined, selectionLabel=Undefined, style=Undefined, symbolFillColor=Undefined, symbolOpacity=Undefined, symbolSize=Undefined, symbolStrokeColor=Undefined, symbolStrokeWidth=Undefined, symbolType=Undefined, tickCount=Undefined, title=Undefined, titleOrient=Undefined, values=Undefined, **kwds)View on GitHub¶
Bases:
GenomeSpySchemaGenerated wrapper for
Legend.Methods
backgroundFill([value, expr])Return a copy with a
ExprRefbackgroundFill.backgroundFillOpacity(value)Return a copy with
backgroundFillOpacityupdated.backgroundStroke([value, expr])Return a copy with a
ExprRefbackgroundStroke.backgroundStrokeOpacity(value)Return a copy with
backgroundStrokeOpacityupdated.backgroundStrokeWidth(value)Return a copy with
backgroundStrokeWidthupdated.columns(value)Return a copy with
columnsupdated.copy(*[, deep])Return a copy with optional keyword updates.
direction(value)Return a copy with
directionupdated.gradientLength(value)Return a copy with
gradientLengthupdated.gradientOpacity(value)Return a copy with
gradientOpacityupdated.gradientStrokeColor([value, expr])Return a copy with a
ExprRefgradientStrokeColor.gradientStrokeWidth(value)Return a copy with
gradientStrokeWidthupdated.gradientThickness(value)Return a copy with
gradientThicknessupdated.labelLimit(value)Return a copy with
labelLimitupdated.offset(value)Return a copy with
offsetupdated.orient([value, expr])Return a copy with
orientupdated.padding(value)Return a copy with
paddingupdated.Return this class schema with referenced properties merged in.
selectionLabel(value)Return a copy with
selectionLabelupdated.style(value)Return a copy with
styleupdated.symbolFillColor([value, expr])Return a copy with a
ExprRefsymbolFillColor.symbolOpacity([value, expr])Return a copy with a
ExprRefsymbolOpacity.symbolSize(value)Return a copy with
symbolSizeupdated.symbolStrokeColor([value, expr])Return a copy with a
ExprRefsymbolStrokeColor.symbolStrokeWidth(value)Return a copy with
symbolStrokeWidthupdated.symbolType(value)Return a copy with
symbolTypeupdated.tickCount(value)Return a copy with
tickCountupdated.title(value)Return a copy with
titleupdated.titleOrient(value)Return a copy with
titleOrientupdated.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.
values(value)Return a copy with
valuesupdated.- backgroundFill(value=Undefined, /, *, expr=Undefined)View on GitHub¶
Return a copy with a
ExprRefbackgroundFill.- Parameters:
expr (str) – The expression string.
- backgroundFillOpacity(value)View on GitHub¶
Return a copy with
backgroundFillOpacityupdated.
- backgroundStroke(value=Undefined, /, *, expr=Undefined)View on GitHub¶
Return a copy with a
ExprRefbackgroundStroke.- Parameters:
expr (str) – The expression string.
- backgroundStrokeOpacity(value)View on GitHub¶
Return a copy with
backgroundStrokeOpacityupdated.
- backgroundStrokeWidth(value)View on GitHub¶
Return a copy with
backgroundStrokeWidthupdated.
- columns(value)View on GitHub¶
Return a copy with
columnsupdated.
- direction(value)View on GitHub¶
Return a copy with
directionupdated.
- gradientLength(value)View on GitHub¶
Return a copy with
gradientLengthupdated.
- gradientOpacity(value)View on GitHub¶
Return a copy with
gradientOpacityupdated.
- gradientStrokeColor(value=Undefined, /, *, expr=Undefined)View on GitHub¶
Return a copy with a
ExprRefgradientStrokeColor.- Parameters:
expr (str) – The expression string.
- gradientStrokeWidth(value)View on GitHub¶
Return a copy with
gradientStrokeWidthupdated.
- gradientThickness(value)View on GitHub¶
Return a copy with
gradientThicknessupdated.
- labelLimit(value)View on GitHub¶
Return a copy with
labelLimitupdated.
- offset(value)View on GitHub¶
Return a copy with
offsetupdated.
- orient(value=Undefined, /, *, expr=Undefined)View on GitHub¶
Return a copy with
orientupdated.- Parameters:
expr (str) – The expression string.
- padding(value)View on GitHub¶
Return a copy with
paddingupdated.
- selectionLabel(value)View on GitHub¶
Return a copy with
selectionLabelupdated.
- style(value)View on GitHub¶
Return a copy with
styleupdated.
- symbolFillColor(value=Undefined, /, *, expr=Undefined)View on GitHub¶
Return a copy with a
ExprRefsymbolFillColor.- Parameters:
expr (str) – The expression string.
- symbolOpacity(value=Undefined, /, *, expr=Undefined)View on GitHub¶
Return a copy with a
ExprRefsymbolOpacity.- Parameters:
expr (str) – The expression string.
- symbolSize(value)View on GitHub¶
Return a copy with
symbolSizeupdated.
- symbolStrokeColor(value=Undefined, /, *, expr=Undefined)View on GitHub¶
Return a copy with a
ExprRefsymbolStrokeColor.- Parameters:
expr (str) – The expression string.
- symbolStrokeWidth(value)View on GitHub¶
Return a copy with
symbolStrokeWidthupdated.
- symbolType(value)View on GitHub¶
Return a copy with
symbolTypeupdated.
- tickCount(value)View on GitHub¶
Return a copy with
tickCountupdated.
- title(value)View on GitHub¶
Return a copy with
titleupdated.
- titleOrient(value)View on GitHub¶
Return a copy with
titleOrientupdated.
- values(value)View on GitHub¶
Return a copy with
valuesupdated.
- 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.