genome_spy.ArrowConfig

class genome_spy.ArrowConfig(buildIndex=Undefined, clamp=Undefined, clip=Undefined, color=Undefined, cullByVisibleRange=Undefined, cursor=Undefined, direction=Undefined, fill=Undefined, fillOpacity=Undefined, filled=Undefined, headAngle=Undefined, headNotchAngle=Undefined, headPlacement=Undefined, headShape=Undefined, headSpacing=Undefined, headWidth=Undefined, minSize=Undefined, minStemLength=Undefined, opacity=Undefined, size=Undefined, startNotch=Undefined, stem=Undefined, stroke=Undefined, strokeOpacity=Undefined, strokeWidth=Undefined, style=Undefined, tooltip=Undefined, x=Undefined, x2=Undefined, x2Offset=Undefined, xOffset=Undefined, y=Undefined, y2=Undefined, y2Offset=Undefined, yOffset=Undefined, **kwds)View on GitHub

Bases: GenomeSpySchema

Generated wrapper for ArrowConfig.

Methods

buildIndex(value)

Return a copy with buildIndex updated.

clamp(value)

Return a copy with clamp updated.

clip(value)

Return a copy with clip updated.

color([value, expr])

Return a copy with a ExprRef color.

copy(*[, deep])

Return a copy with optional keyword updates.

cullByVisibleRange(value)

Return a copy with cullByVisibleRange updated.

cursor([value, expr])

Return a copy with a ExprRef cursor.

direction([value, expr])

Return a copy with direction updated.

fill([value, expr])

Return a copy with a ExprRef fill.

fillOpacity([value, expr])

Return a copy with a ExprRef fillOpacity.

filled(value)

Return a copy with filled updated.

headAngle([value, expr])

Return a copy with a ExprRef headAngle.

headNotchAngle([value, expr])

Return a copy with a ExprRef headNotchAngle.

headPlacement([value, expr])

Return a copy with a ExprRef headPlacement.

headShape([value, expr])

Return a copy with a ExprRef headShape.

headSpacing([value, expr])

Return a copy with a ExprRef headSpacing.

headWidth([value, expr])

Return a copy with a ExprRef headWidth.

minSize([value, expr])

Return a copy with a ExprRef minSize.

minStemLength([value, expr])

Return a copy with a ExprRef minStemLength.

opacity([value, expr])

Return a copy with a ExprRef opacity.

resolve_references()

Return this class schema with referenced properties merged in.

size([value, band, channel, expr])

Return a copy with size updated.

startNotch([value, expr])

Return a copy with a ExprRef startNotch.

stem([value, expr])

Return a copy with a ExprRef stem.

stroke([value, expr])

Return a copy with a ExprRef stroke.

strokeOpacity([value, expr])

Return a copy with a ExprRef strokeOpacity.

strokeWidth([value, expr])

Return a copy with a ExprRef strokeWidth.

style(value)

Return a copy with style updated.

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

validate(instance)

Validate an instance against this wrapper's schema.

x([value, expr])

Return a copy with a ExprRef x.

x2([value, expr])

Return a copy with a ExprRef x2.

x2Offset([value, expr])

Return a copy with a ExprRef x2Offset.

xOffset([value, expr])

Return a copy with a ExprRef xOffset.

y([value, expr])

Return a copy with a ExprRef y.

y2([value, expr])

Return a copy with a ExprRef y2.

y2Offset([value, expr])

Return a copy with a ExprRef y2Offset.

yOffset([value, expr])

Return a copy with a ExprRef yOffset.

buildIndex(value)View on GitHub

Return a copy with buildIndex updated.

clamp(value)View on GitHub

Return a copy with clamp updated.

clip(value)View on GitHub

Return a copy with clip updated.

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

Return a copy with a ExprRef color.

Parameters:

expr (str) – The expression string.

cullByVisibleRange(value)View on GitHub

Return a copy with cullByVisibleRange updated.

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

Return a copy with a ExprRef cursor.

Parameters:

expr (str) – The expression string.

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

Return a copy with direction updated.

Parameters:

expr (str) – The expression string.

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

Return a copy with a ExprRef fill.

Parameters:

expr (str) – The expression string.

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

Return a copy with a ExprRef fillOpacity.

Parameters:

expr (str) – The expression string.

filled(value)View on GitHub

Return a copy with filled updated.

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

Return a copy with a ExprRef headAngle.

Parameters:

expr (str) – The expression string.

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

Return a copy with a ExprRef headNotchAngle.

Parameters:

expr (str) – The expression string.

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

Return a copy with a ExprRef headPlacement.

Parameters:

expr (str) – The expression string.

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

Return a copy with a ExprRef headShape.

Parameters:

expr (str) – The expression string.

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

Return a copy with a ExprRef headSpacing.

Parameters:

expr (str) – The expression string.

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

Return a copy with a ExprRef headWidth.

Parameters:

expr (str) – The expression string.

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

Return a copy with a ExprRef minSize.

Parameters:

expr (str) – The expression string.

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

Return a copy with a ExprRef minStemLength.

Parameters:

expr (str) – The expression string.

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

Return a copy with a ExprRef opacity.

Parameters:

expr (str) – The expression string.

size(value=Undefined, /, *, band=Undefined, channel=Undefined, expr=Undefined)View on GitHub

Return a copy with size updated.

Parameters:
  • band (float) – Fraction of the perpendicular band or view span.

  • channel (Literal['x', 'y', 'auto']) – Channel whose band or view span is used. If omitted or "auto", GenomeSpy infers the perpendicular channel from the axis-aligned arrow endpoints. Band-relative size is not supported for diagonal arrows.

  • expr (str) – The expression string.

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

Return a copy with a ExprRef startNotch.

Parameters:

expr (str) – The expression string.

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

Return a copy with a ExprRef stem.

Parameters:

expr (str) – The expression string.

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

Return a copy with a ExprRef stroke.

Parameters:

expr (str) – The expression string.

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

Return a copy with a ExprRef strokeOpacity.

Parameters:

expr (str) – The expression string.

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

Return a copy with a ExprRef strokeWidth.

Parameters:

expr (str) – The expression string.

style(value)View on GitHub

Return a copy with style updated.

tooltip(value=Undefined, /, *, handler=Undefined, params=Undefined)View on GitHub

Return a copy with tooltip updated.

Parameters:
  • handler (str) – Schema-defined handler property.

  • params (dict[str, Any]) – Schema-defined params property.

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

Return a copy with a ExprRef x.

Parameters:

expr (str) – The expression string.

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

Return a copy with a ExprRef x2.

Parameters:

expr (str) – The expression string.

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

Return a copy with a ExprRef x2Offset.

Parameters:

expr (str) – The expression string.

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

Return a copy with a ExprRef xOffset.

Parameters:

expr (str) – The expression string.

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

Return a copy with a ExprRef y.

Parameters:

expr (str) – The expression string.

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

Return a copy with a ExprRef y2.

Parameters:

expr (str) – The expression string.

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

Return a copy with a ExprRef y2Offset.

Parameters:

expr (str) – The expression string.

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

Return a copy with a ExprRef yOffset.

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.