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: GenomeSpySchema

Generated wrapper for Legend.

Methods

backgroundFill([value, expr])

Return a copy with a ExprRef backgroundFill.

backgroundFillOpacity(value)

Return a copy with backgroundFillOpacity updated.

backgroundStroke([value, expr])

Return a copy with a ExprRef backgroundStroke.

backgroundStrokeOpacity(value)

Return a copy with backgroundStrokeOpacity updated.

backgroundStrokeWidth(value)

Return a copy with backgroundStrokeWidth updated.

columns(value)

Return a copy with columns updated.

copy(*[, deep])

Return a copy with optional keyword updates.

direction(value)

Return a copy with direction updated.

gradientLength(value)

Return a copy with gradientLength updated.

gradientOpacity(value)

Return a copy with gradientOpacity updated.

gradientStrokeColor([value, expr])

Return a copy with a ExprRef gradientStrokeColor.

gradientStrokeWidth(value)

Return a copy with gradientStrokeWidth updated.

gradientThickness(value)

Return a copy with gradientThickness updated.

labelLimit(value)

Return a copy with labelLimit updated.

offset(value)

Return a copy with offset updated.

orient([value, expr])

Return a copy with orient updated.

padding(value)

Return a copy with padding updated.

resolve_references()

Return this class schema with referenced properties merged in.

selectionLabel(value)

Return a copy with selectionLabel updated.

style(value)

Return a copy with style updated.

symbolFillColor([value, expr])

Return a copy with a ExprRef symbolFillColor.

symbolOpacity([value, expr])

Return a copy with a ExprRef symbolOpacity.

symbolSize(value)

Return a copy with symbolSize updated.

symbolStrokeColor([value, expr])

Return a copy with a ExprRef symbolStrokeColor.

symbolStrokeWidth(value)

Return a copy with symbolStrokeWidth updated.

symbolType(value)

Return a copy with symbolType updated.

tickCount(value)

Return a copy with tickCount updated.

title(value)

Return a copy with title updated.

titleOrient(value)

Return a copy with titleOrient updated.

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 values updated.

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

Return a copy with a ExprRef backgroundFill.

Parameters:

expr (str) – The expression string.

backgroundFillOpacity(value)View on GitHub

Return a copy with backgroundFillOpacity updated.

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

Return a copy with a ExprRef backgroundStroke.

Parameters:

expr (str) – The expression string.

backgroundStrokeOpacity(value)View on GitHub

Return a copy with backgroundStrokeOpacity updated.

backgroundStrokeWidth(value)View on GitHub

Return a copy with backgroundStrokeWidth updated.

columns(value)View on GitHub

Return a copy with columns updated.

direction(value)View on GitHub

Return a copy with direction updated.

gradientLength(value)View on GitHub

Return a copy with gradientLength updated.

gradientOpacity(value)View on GitHub

Return a copy with gradientOpacity updated.

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

Return a copy with a ExprRef gradientStrokeColor.

Parameters:

expr (str) – The expression string.

gradientStrokeWidth(value)View on GitHub

Return a copy with gradientStrokeWidth updated.

gradientThickness(value)View on GitHub

Return a copy with gradientThickness updated.

labelLimit(value)View on GitHub

Return a copy with labelLimit updated.

offset(value)View on GitHub

Return a copy with offset updated.

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

Return a copy with orient updated.

Parameters:

expr (str) – The expression string.

padding(value)View on GitHub

Return a copy with padding updated.

selectionLabel(value)View on GitHub

Return a copy with selectionLabel updated.

style(value)View on GitHub

Return a copy with style updated.

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

Return a copy with a ExprRef symbolFillColor.

Parameters:

expr (str) – The expression string.

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

Return a copy with a ExprRef symbolOpacity.

Parameters:

expr (str) – The expression string.

symbolSize(value)View on GitHub

Return a copy with symbolSize updated.

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

Return a copy with a ExprRef symbolStrokeColor.

Parameters:

expr (str) – The expression string.

symbolStrokeWidth(value)View on GitHub

Return a copy with symbolStrokeWidth updated.

symbolType(value)View on GitHub

Return a copy with symbolType updated.

tickCount(value)View on GitHub

Return a copy with tickCount updated.

title(value)View on GitHub

Return a copy with title updated.

titleOrient(value)View on GitHub

Return a copy with titleOrient updated.

values(value)View on GitHub

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