genome_spy.PackLegendLabelsParams

class genome_spy.PackLegendLabelsParams(columnPadding=Undefined, columns=Undefined, description=Undefined, direction=Undefined, fontSize=Undefined, labelOffset=Undefined, labelWidth=Undefined, rowPadding=Undefined, symbolOffset=Undefined, symbolSize=Undefined, symbolStrokeWidth=Undefined, type=Undefined, xOffset=Undefined, yExtent=Undefined, yOffset=Undefined, **kwds)View on GitHub

Bases: GenomeSpySchema

Generated wrapper for PackLegendLabelsParams.

Methods

columnPadding(value)

Return a copy with columnPadding updated.

columns(value)

Return a copy with columns updated.

copy(*[, deep])

Return a copy with optional keyword updates.

description(value)

Return a copy with description updated.

direction(value)

Return a copy with direction updated.

fontSize(value)

Return a copy with fontSize updated.

labelOffset(value)

Return a copy with labelOffset updated.

labelWidth(value)

Return a copy with labelWidth updated.

resolve_references()

Return this class schema with referenced properties merged in.

rowPadding(value)

Return a copy with rowPadding updated.

symbolOffset(value)

Return a copy with symbolOffset updated.

symbolSize(value)

Return a copy with symbolSize updated.

symbolStrokeWidth(value)

Return a copy with symbolStrokeWidth updated.

to_dict(*[, validate])

Serialize this schema wrapper to a JSON-compatible dictionary.

to_json(*[, validate])

Serialize this schema wrapper to formatted JSON.

type(value)

Return a copy with type updated.

validate(instance)

Validate an instance against this wrapper's schema.

xOffset(value)

Return a copy with xOffset updated.

yExtent([value, expr])

Return a copy with a ExprRef yExtent.

yOffset(value)

Return a copy with yOffset updated.

columnPadding(value)View on GitHub

Return a copy with columnPadding updated.

columns(value)View on GitHub

Return a copy with columns updated.

description(value)View on GitHub

Return a copy with description updated.

direction(value)View on GitHub

Return a copy with direction updated.

fontSize(value)View on GitHub

Return a copy with fontSize updated.

labelOffset(value)View on GitHub

Return a copy with labelOffset updated.

labelWidth(value)View on GitHub

Return a copy with labelWidth updated.

rowPadding(value)View on GitHub

Return a copy with rowPadding updated.

symbolOffset(value)View on GitHub

Return a copy with symbolOffset updated.

symbolSize(value)View on GitHub

Return a copy with symbolSize updated.

symbolStrokeWidth(value)View on GitHub

Return a copy with symbolStrokeWidth updated.

type(value)View on GitHub

Return a copy with type updated.

xOffset(value)View on GitHub

Return a copy with xOffset updated.

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

Return a copy with a ExprRef yExtent.

Parameters:

expr (str) – The expression string.

yOffset(value)View on GitHub

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