genome_spy.view¶
- genome_spy.view(*, fill=Undefined, fillOpacity=Undefined, shadowBlur=Undefined, shadowColor=Undefined, shadowOffsetX=Undefined, shadowOffsetY=Undefined, shadowOpacity=Undefined, stroke=Undefined, strokeOpacity=Undefined, strokeWidth=Undefined, strokeZindex=Undefined, style=Undefined, zindex=Undefined)View on GitHub¶
Create a view background configuration.
- Parameters:
fill (str) – Fill color of the view background.
fillOpacity (float) – Opacity of the view background fill.
shadowBlur (float | ExprRef | dict[str, Any]) – The blur radius of the drop shadow in pixels. Higher values produce a more diffuse shadow. Default value:
0shadowColor (str | ExprRef | dict[str, Any]) – The color of the drop shadow. Any valid CSS color string is allowed. Default value:
"black"shadowOffsetX (float | ExprRef | dict[str, Any]) – The horizontal offset of the drop shadow in pixels. Positive values move the shadow to the right. Default value:
0shadowOffsetY (float | ExprRef | dict[str, Any]) – The vertical offset of the drop shadow in pixels. Positive values move the shadow downward. Default value:
0shadowOpacity (float | ExprRef | dict[str, Any]) – The opacity of the drop shadow. Value between
0(fully transparent) and1(fully opaque). Default value:0(disabled)stroke (str) – Stroke color of the view background.
strokeOpacity (float) – Opacity of the view background stroke.
strokeWidth (float) – Stroke width of the view background border.
strokeZindex (float) – Z-order of the background stroke relative to the view content. Values greater than
0render after the view marks. Values less than or equal to0render before the marks. __Default value:__0, or10when the view content is clipped or scrollable.style (str | Sequence[str]) – Named style reference(s) resolved from
config.style. If an array is provided, later styles override earlier ones. __Default value:__"cell"zindex (float) – Z-order of the background fill relative to the view content. Values greater than
0render after the view marks. Values less than or equal to0render before the marks. __Default value:__0