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, 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)

Return a copy with backgroundFill updated.

backgroundFillOpacity(value)

Return a copy with backgroundFillOpacity updated.

backgroundStroke(value)

Return a copy with backgroundStroke updated.

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)

Return a copy with gradientStrokeColor updated.

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)

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.

style(value)

Return a copy with style updated.

symbolFillColor(value)

Return a copy with symbolFillColor updated.

symbolOpacity(value)

Return a copy with symbolOpacity updated.

symbolSize(value)

Return a copy with symbolSize updated.

symbolStrokeColor(value)

Return a copy with symbolStrokeColor updated.

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)View on GitHub

Return a copy with backgroundFill updated.

backgroundFillOpacity(value)View on GitHub

Return a copy with backgroundFillOpacity updated.

backgroundStroke(value)View on GitHub

Return a copy with backgroundStroke updated.

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)View on GitHub

Return a copy with gradientStrokeColor updated.

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)View on GitHub

Return a copy with orient updated.

padding(value)View on GitHub

Return a copy with padding updated.

style(value)View on GitHub

Return a copy with style updated.

symbolFillColor(value)View on GitHub

Return a copy with symbolFillColor updated.

symbolOpacity(value)View on GitHub

Return a copy with symbolOpacity updated.

symbolSize(value)View on GitHub

Return a copy with symbolSize updated.

symbolStrokeColor(value)View on GitHub

Return a copy with symbolStrokeColor updated.

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.