genome-spy-python 0.1.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. genome_spy/__init__.py +199 -0
  2. genome_spy/_chart_authoring.py +231 -0
  3. genome_spy/_conditions.py +72 -0
  4. genome_spy/_embed.py +87 -0
  5. genome_spy/_expressions.py +271 -0
  6. genome_spy/_parameters.py +267 -0
  7. genome_spy/_render.py +207 -0
  8. genome_spy/_utils.py +75 -0
  9. genome_spy/_widget.py +262 -0
  10. genome_spy/api.py +198 -0
  11. genome_spy/arrow.py +155 -0
  12. genome_spy/channels.py +193 -0
  13. genome_spy/chart.py +1240 -0
  14. genome_spy/data.py +56 -0
  15. genome_spy/data_transformers.py +267 -0
  16. genome_spy/datasets/__init__.py +189 -0
  17. genome_spy/datasets/_airway.py +219 -0
  18. genome_spy/datasets/_annotations.py +37 -0
  19. genome_spy/datasets/_gistic.py +43 -0
  20. genome_spy/datasets/_grammar.py +66 -0
  21. genome_spy/datasets/_hapmap.py +180 -0
  22. genome_spy/datasets/_mutation.py +289 -0
  23. genome_spy/datasets/_oncoprint.py +523 -0
  24. genome_spy/datasets/data/airway_metadata.csv +9 -0
  25. genome_spy/datasets/data/airway_scaledcounts.csv +38695 -0
  26. genome_spy/datasets/data/brca.maf.gz +0 -0
  27. genome_spy/datasets/data/hapmap_gwas.csv +14413 -0
  28. genome_spy/datasets/data/mutation_impact_reference.json +27 -0
  29. genome_spy/datasets/data/oncoprint_dataset3.json +266 -0
  30. genome_spy/datasets/data/p53_sequence_comparison.json.gz +0 -0
  31. genome_spy/datasets/data/pik3ca_mutations.json +1 -0
  32. genome_spy/datasets/data/pik3ca_tcga_brca_lollipop.json +38 -0
  33. genome_spy/datasets/data/refseq_gene_bodies.csv.gz +0 -0
  34. genome_spy/datasets/data/tal1_alphagenome_reference.json.gz +0 -0
  35. genome_spy/datasets/data/tcga.tsv +146 -0
  36. genome_spy/datasets/data/tcga_laml.maf.gz +0 -0
  37. genome_spy/datasets/data/tcga_laml_annot.tsv +201 -0
  38. genome_spy/datasets/data/tcga_laml_combined_oncoplot.json.gz +0 -0
  39. genome_spy/datasets/data/tcga_ov_gistic_lesions.tsv.gz +0 -0
  40. genome_spy/datasets/data/tcga_ov_gistic_scores.tsv.gz +0 -0
  41. genome_spy/helpers.py +185 -0
  42. genome_spy/jupyter.py +5 -0
  43. genome_spy/py.typed +0 -0
  44. genome_spy/schema/__init__.py +784 -0
  45. genome_spy/schema/_kwds.py +1394 -0
  46. genome_spy/schema/_typing.py +186 -0
  47. genome_spy/schema/capabilities.json +593 -0
  48. genome_spy/schema/channels.py +8943 -0
  49. genome_spy/schema/composition.py +1064 -0
  50. genome_spy/schema/core.py +51821 -0
  51. genome_spy/schema/ergonomics.py +2056 -0
  52. genome_spy/schema/expressions.py +476 -0
  53. genome_spy/schema/genome-spy-schema.json +33657 -0
  54. genome_spy/schema/lazy.py +326 -0
  55. genome_spy/schema/mixins.py +11684 -0
  56. genome_spy/schemapi.py +264 -0
  57. genome_spy/static/widget.js +345 -0
  58. genome_spy_python-0.1.0.dist-info/METADATA +185 -0
  59. genome_spy_python-0.1.0.dist-info/RECORD +64 -0
  60. genome_spy_python-0.1.0.dist-info/WHEEL +4 -0
  61. genome_spy_python-0.1.0.dist-info/licenses/LICENSE +21 -0
  62. genome_spy_python-0.1.0.dist-info/licenses/LICENSES/ALTAIR-BSD-3-Clause.txt +27 -0
  63. genome_spy_python-0.1.0.dist-info/licenses/LICENSES/GALLERY-DATA-MIT.txt +22 -0
  64. genome_spy_python-0.1.0.dist-info/licenses/THIRD_PARTY_NOTICES.md +42 -0
@@ -0,0 +1,1394 @@
1
+ """Generated from the GenomeSpy JSON Schema. Do not edit by hand."""
2
+
3
+ from __future__ import annotations
4
+ from collections.abc import Sequence
5
+ from typing import TYPE_CHECKING, TypedDict, Any, Literal
6
+
7
+ from genome_spy.schema._typing import (
8
+ Align_T,
9
+ AxisOrient_T,
10
+ AxisPlacement_T,
11
+ Baseline_T,
12
+ DomEventType_T,
13
+ Field_T,
14
+ FontStyle_T,
15
+ FontWeight_T,
16
+ LegendDirection_T,
17
+ LegendOrient_T,
18
+ LegendTitleOrient_T,
19
+ PrimaryPositionalChannel_T,
20
+ RulerClear_T,
21
+ RulerDisplay_T,
22
+ RulerEventType_T,
23
+ RulerExtent_T,
24
+ RulerSnap_T,
25
+ RulerSource_T,
26
+ ScalarDomain_T,
27
+ Scalar_T,
28
+ ScaleInterpolate_T,
29
+ ScaleType_T,
30
+ SelectionType_T,
31
+ SortOrder_T,
32
+ TitleAnchor_T,
33
+ TitleFrame_T,
34
+ TitleOrient_T,
35
+ )
36
+
37
+ if TYPE_CHECKING:
38
+ from genome_spy.schema.core import (
39
+ ArrowConfig,
40
+ AxisConfig,
41
+ BindCheckbox,
42
+ BindInput,
43
+ BindRadioSelect,
44
+ BindRange,
45
+ ChromPosDef,
46
+ ChromosomalLocus,
47
+ DirectionDef,
48
+ ExprDef,
49
+ ExprRef,
50
+ FieldDefWithoutScale,
51
+ FieldOrDatumDefWithConditionMarkPropFieldDefTypeForShapeStringNull,
52
+ FieldOrDatumDefWithConditionMarkPropFieldDefTypeNumber,
53
+ FieldOrDatumDefWithConditionMarkPropFieldDefTypeStringNull,
54
+ FieldOrDatumDefWithConditionScaleDatumDefNumber,
55
+ FieldOrDatumDefWithConditionScaleDatumDefStringNull,
56
+ GenomeAxis,
57
+ HandledTooltip,
58
+ InlineGenomeDefinition,
59
+ IntervalSelectionConfig,
60
+ Legend,
61
+ LegendConfig,
62
+ LegendLayout,
63
+ LerpTransition,
64
+ LinkConfig,
65
+ MarkConfig,
66
+ MarkPropExprDef,
67
+ MarkPropExprDefType,
68
+ MarkPropExprDefTypeForShape,
69
+ Parse,
70
+ PointConfig,
71
+ PointSelectionConfig,
72
+ Position2Def,
73
+ PositionDatumDef,
74
+ PositionExprDef,
75
+ PositionFieldDef,
76
+ RangeConfig,
77
+ RectConfig,
78
+ RuleConfig,
79
+ RulerConfig,
80
+ RulerEventConfig,
81
+ RulerInitMapping,
82
+ RulerMarkConfig,
83
+ Scale,
84
+ ScaleConfig,
85
+ ScaleInterpolateParams,
86
+ SchemeParams,
87
+ SelectionDomainRef,
88
+ Step,
89
+ StringDatumDef,
90
+ StringFieldDef,
91
+ TextConfig,
92
+ TickConfig,
93
+ TitleConfig,
94
+ UrlGenomeDefinition,
95
+ ValueDefNumber,
96
+ ValueDefString,
97
+ ValueDefWithConditionNumberType,
98
+ ValueDefWithConditionStringNullType,
99
+ ValueDefWithConditionStringNullTypeForShape,
100
+ ViewConfig,
101
+ ViewportDomainRef,
102
+ ZoomParams,
103
+ )
104
+
105
+
106
+ class AxisKwds(TypedDict, total=False):
107
+ """TypedDict helper for raw ``Axis`` mappings."""
108
+
109
+ domain: bool
110
+ domainCap: Literal["butt", "round", "square"]
111
+ domainColor: str
112
+ domainDash: Sequence[float]
113
+ domainDashOffset: float
114
+ domainWidth: float
115
+ extraValues: Sequence[float]
116
+ format: str
117
+ grid: bool
118
+ gridCap: Literal["butt", "round", "square"]
119
+ gridColor: str
120
+ gridDash: Sequence[float]
121
+ gridDashOffset: float
122
+ gridOpacity: float
123
+ gridWidth: float
124
+ labelAlign: Align_T
125
+ labelAngle: float
126
+ labelBaseline: Baseline_T
127
+ labelColor: str
128
+ labelFlush: bool | float
129
+ labelFlushOffset: float
130
+ labelFont: str
131
+ labelFontSize: float
132
+ labelFontStyle: FontStyle_T
133
+ labelFontWeight: FontWeight_T
134
+ labelLimit: float
135
+ labelOverlap: bool | Literal["parity"] | Literal["greedy"]
136
+ labelPadding: float
137
+ labelSeparation: float
138
+ labels: bool
139
+ maxExtent: float
140
+ minExtent: float
141
+ offset: float
142
+ orient: AxisOrient_T
143
+ placement: AxisPlacement_T
144
+ style: str | Sequence[str] | None
145
+ tickCap: Literal["butt", "round", "square"]
146
+ tickColor: str
147
+ tickCount: float | ExprRef | dict[str, Any]
148
+ tickDash: Sequence[float]
149
+ tickDashOffset: float
150
+ tickMinStep: float
151
+ tickSize: float
152
+ tickWidth: float
153
+ ticks: bool
154
+ title: str | None
155
+ titleColor: str
156
+ titleFit: Literal["point", "range"]
157
+ titleFont: str
158
+ titleFontSize: float
159
+ titleFontStyle: FontStyle_T
160
+ titleFontWeight: FontWeight_T
161
+ titleOpacity: float
162
+ titlePadding: float
163
+ values: Sequence[Any]
164
+ zindex: float
165
+
166
+
167
+ class AxisConfigKwds(TypedDict, total=False):
168
+ """TypedDict helper for raw ``AxisConfig`` mappings."""
169
+
170
+ chromGrid: bool
171
+ chromGridCap: Literal["butt", "round", "square"]
172
+ chromGridColor: str
173
+ chromGridDash: Sequence[float]
174
+ chromGridDashOffset: float
175
+ chromGridFillEven: str
176
+ chromGridFillOdd: str
177
+ chromGridOpacity: float
178
+ chromGridWidth: float
179
+ chromLabelAlign: Align_T
180
+ chromLabelColor: str
181
+ chromLabelFont: str
182
+ chromLabelFontSize: float
183
+ chromLabelFontStyle: FontStyle_T
184
+ chromLabelFontWeight: FontWeight_T
185
+ chromLabelPadding: float
186
+ chromLabels: bool
187
+ chromTickColor: str
188
+ chromTickDash: Sequence[float]
189
+ chromTickDashOffset: float
190
+ chromTickSize: float
191
+ chromTickWidth: float
192
+ chromTicks: bool
193
+ domain: bool
194
+ domainCap: Literal["butt", "round", "square"]
195
+ domainColor: str
196
+ domainDash: Sequence[float]
197
+ domainDashOffset: float
198
+ domainWidth: float
199
+ extraValues: Sequence[float]
200
+ format: str
201
+ grid: bool
202
+ gridCap: Literal["butt", "round", "square"]
203
+ gridColor: str
204
+ gridDash: Sequence[float]
205
+ gridDashOffset: float
206
+ gridOpacity: float
207
+ gridWidth: float
208
+ labelAlign: Align_T
209
+ labelAngle: float
210
+ labelBaseline: Baseline_T
211
+ labelColor: str
212
+ labelFlush: bool | float
213
+ labelFlushOffset: float
214
+ labelFont: str
215
+ labelFontSize: float
216
+ labelFontStyle: FontStyle_T
217
+ labelFontWeight: FontWeight_T
218
+ labelLimit: float
219
+ labelOverlap: bool | Literal["parity"] | Literal["greedy"]
220
+ labelPadding: float
221
+ labelSeparation: float
222
+ labels: bool
223
+ maxExtent: float
224
+ minExtent: float
225
+ offset: float
226
+ orient: AxisOrient_T
227
+ placement: AxisPlacement_T
228
+ style: str | Sequence[str] | None
229
+ tickCap: Literal["butt", "round", "square"]
230
+ tickColor: str
231
+ tickCount: float | ExprRef | dict[str, Any]
232
+ tickDash: Sequence[float]
233
+ tickDashOffset: float
234
+ tickMinStep: float
235
+ tickSize: float
236
+ tickWidth: float
237
+ ticks: bool
238
+ title: str | None
239
+ titleColor: str
240
+ titleFit: Literal["point", "range"]
241
+ titleFont: str
242
+ titleFontSize: float
243
+ titleFontStyle: FontStyle_T
244
+ titleFontWeight: FontWeight_T
245
+ titleOpacity: float
246
+ titlePadding: float
247
+ values: Sequence[Any]
248
+ zindex: float
249
+
250
+
251
+ class BindCheckboxKwds(TypedDict, total=False):
252
+ """TypedDict helper for raw ``BindCheckbox`` mappings."""
253
+
254
+ debounce: float
255
+ description: str
256
+ input: Literal["checkbox"]
257
+ name: str
258
+
259
+
260
+ class BindInputKwds(TypedDict, total=False):
261
+ """TypedDict helper for raw ``BindInput`` mappings."""
262
+
263
+ autocomplete: str
264
+ debounce: float
265
+ description: str
266
+ input: Literal["text", "number", "color"]
267
+ name: str
268
+ placeholder: str
269
+
270
+
271
+ class BindRadioSelectKwds(TypedDict, total=False):
272
+ """TypedDict helper for raw ``BindRadioSelect`` mappings."""
273
+
274
+ debounce: float
275
+ description: str
276
+ input: Literal["radio", "select"]
277
+ labels: Sequence[str]
278
+ name: str
279
+ options: Sequence[Any]
280
+
281
+
282
+ class BindRangeKwds(TypedDict, total=False):
283
+ """TypedDict helper for raw ``BindRange`` mappings."""
284
+
285
+ debounce: float
286
+ description: str
287
+ input: Literal["range"]
288
+ max: float
289
+ min: float
290
+ name: str
291
+ step: float
292
+
293
+
294
+ class CompareParamsKwds(TypedDict, total=False):
295
+ """TypedDict helper for raw ``CompareParams`` mappings."""
296
+
297
+ field: Sequence[Field_T] | Field_T
298
+ order: Sequence[SortOrder_T] | SortOrder_T
299
+
300
+
301
+ class DataFormatKwds(TypedDict, total=False):
302
+ """TypedDict helper for raw ``DataFormat`` mappings."""
303
+
304
+ columns: Sequence[str]
305
+ delimiter: str
306
+ parse: Parse | ParseKwds | None
307
+ property: str
308
+ type: str
309
+
310
+
311
+ class DynamicOpacityKwds(TypedDict, total=False):
312
+ """TypedDict helper for raw ``DynamicOpacity`` mappings."""
313
+
314
+ channel: PrimaryPositionalChannel_T | Literal["auto"]
315
+ unitsPerPixel: Sequence[float | ExprRef | dict[str, Any]]
316
+ values: Sequence[float]
317
+
318
+
319
+ class EncodingKwds(TypedDict, total=False):
320
+ """TypedDict helper for raw ``Encoding`` mappings."""
321
+
322
+ angle: (
323
+ FieldOrDatumDefWithConditionMarkPropFieldDefTypeNumber
324
+ | dict[str, Any]
325
+ | FieldOrDatumDefWithConditionScaleDatumDefNumber
326
+ | MarkPropExprDefType
327
+ | ValueDefWithConditionNumberType
328
+ )
329
+ color: (
330
+ FieldOrDatumDefWithConditionMarkPropFieldDefTypeStringNull
331
+ | dict[str, Any]
332
+ | FieldOrDatumDefWithConditionScaleDatumDefStringNull
333
+ | MarkPropExprDefType
334
+ | ValueDefWithConditionStringNullType
335
+ )
336
+ direction: DirectionDef | dict[str, Any]
337
+ dx: (
338
+ FieldOrDatumDefWithConditionMarkPropFieldDefTypeNumber
339
+ | dict[str, Any]
340
+ | FieldOrDatumDefWithConditionScaleDatumDefNumber
341
+ | MarkPropExprDefType
342
+ | ValueDefWithConditionNumberType
343
+ | MarkPropExprDef
344
+ )
345
+ dy: (
346
+ FieldOrDatumDefWithConditionMarkPropFieldDefTypeNumber
347
+ | dict[str, Any]
348
+ | FieldOrDatumDefWithConditionScaleDatumDefNumber
349
+ | MarkPropExprDefType
350
+ | ValueDefWithConditionNumberType
351
+ | MarkPropExprDef
352
+ )
353
+ facetIndex: FieldDefWithoutScale | dict[str, Any]
354
+ fill: (
355
+ FieldOrDatumDefWithConditionMarkPropFieldDefTypeStringNull
356
+ | dict[str, Any]
357
+ | FieldOrDatumDefWithConditionScaleDatumDefStringNull
358
+ | MarkPropExprDefType
359
+ | ValueDefWithConditionStringNullType
360
+ )
361
+ fillOpacity: (
362
+ FieldOrDatumDefWithConditionMarkPropFieldDefTypeNumber
363
+ | dict[str, Any]
364
+ | FieldOrDatumDefWithConditionScaleDatumDefNumber
365
+ | MarkPropExprDefType
366
+ | ValueDefWithConditionNumberType
367
+ )
368
+ key: (
369
+ FieldDefWithoutScale
370
+ | dict[str, Any]
371
+ | Sequence[FieldDefWithoutScale | dict[str, Any]]
372
+ )
373
+ opacity: (
374
+ FieldOrDatumDefWithConditionMarkPropFieldDefTypeNumber
375
+ | dict[str, Any]
376
+ | FieldOrDatumDefWithConditionScaleDatumDefNumber
377
+ | MarkPropExprDefType
378
+ | ValueDefWithConditionNumberType
379
+ )
380
+ sample: FieldDefWithoutScale | dict[str, Any]
381
+ search: (
382
+ FieldDefWithoutScale
383
+ | dict[str, Any]
384
+ | Sequence[FieldDefWithoutScale | dict[str, Any]]
385
+ )
386
+ semanticScore: dict[str, Any]
387
+ shape: (
388
+ FieldOrDatumDefWithConditionMarkPropFieldDefTypeForShapeStringNull
389
+ | dict[str, Any]
390
+ | FieldOrDatumDefWithConditionScaleDatumDefStringNull
391
+ | MarkPropExprDefTypeForShape
392
+ | ValueDefWithConditionStringNullTypeForShape
393
+ )
394
+ size: (
395
+ FieldOrDatumDefWithConditionMarkPropFieldDefTypeNumber
396
+ | dict[str, Any]
397
+ | FieldOrDatumDefWithConditionScaleDatumDefNumber
398
+ | MarkPropExprDefType
399
+ | ValueDefWithConditionNumberType
400
+ )
401
+ stroke: (
402
+ FieldOrDatumDefWithConditionMarkPropFieldDefTypeStringNull
403
+ | dict[str, Any]
404
+ | FieldOrDatumDefWithConditionScaleDatumDefStringNull
405
+ | MarkPropExprDefType
406
+ | ValueDefWithConditionStringNullType
407
+ )
408
+ strokeOpacity: (
409
+ FieldOrDatumDefWithConditionMarkPropFieldDefTypeNumber
410
+ | dict[str, Any]
411
+ | FieldOrDatumDefWithConditionScaleDatumDefNumber
412
+ | MarkPropExprDefType
413
+ | ValueDefWithConditionNumberType
414
+ )
415
+ strokeWidth: (
416
+ FieldOrDatumDefWithConditionMarkPropFieldDefTypeNumber
417
+ | dict[str, Any]
418
+ | FieldOrDatumDefWithConditionScaleDatumDefNumber
419
+ | MarkPropExprDefType
420
+ | ValueDefWithConditionNumberType
421
+ )
422
+ text: StringFieldDef | dict[str, Any] | StringDatumDef | ExprDef | ValueDefString
423
+ tooltip: (
424
+ StringFieldDef
425
+ | dict[str, Any]
426
+ | StringDatumDef
427
+ | ExprDef
428
+ | ValueDefString
429
+ | Sequence[
430
+ StringFieldDef | dict[str, Any] | StringDatumDef | ExprDef | ValueDefString
431
+ ]
432
+ | None
433
+ )
434
+ uniqueId: FieldDefWithoutScale | dict[str, Any]
435
+ x: dict[str, Any] | None
436
+ x2: Position2Def | dict[str, Any] | None
437
+ xOffset: (
438
+ FieldOrDatumDefWithConditionMarkPropFieldDefTypeNumber
439
+ | dict[str, Any]
440
+ | FieldOrDatumDefWithConditionScaleDatumDefNumber
441
+ | MarkPropExprDefType
442
+ | ValueDefWithConditionNumberType
443
+ | MarkPropExprDef
444
+ | None
445
+ )
446
+ y: (
447
+ PositionFieldDef
448
+ | dict[str, Any]
449
+ | ChromPosDef
450
+ | PositionDatumDef
451
+ | PositionExprDef
452
+ | ValueDefNumber
453
+ | None
454
+ )
455
+ y2: Position2Def | dict[str, Any] | None
456
+ yOffset: (
457
+ FieldOrDatumDefWithConditionMarkPropFieldDefTypeNumber
458
+ | dict[str, Any]
459
+ | FieldOrDatumDefWithConditionScaleDatumDefNumber
460
+ | MarkPropExprDefType
461
+ | ValueDefWithConditionNumberType
462
+ | MarkPropExprDef
463
+ | None
464
+ )
465
+
466
+
467
+ class EventConfigKwds(TypedDict, total=False):
468
+ """TypedDict helper for raw ``EventConfig`` mappings."""
469
+
470
+ filter: str
471
+ type: DomEventType_T
472
+
473
+
474
+ class GenomeAxisKwds(TypedDict, total=False):
475
+ """TypedDict helper for raw ``GenomeAxis`` mappings."""
476
+
477
+ chromGrid: bool
478
+ chromGridCap: Literal["butt", "round", "square"]
479
+ chromGridColor: str
480
+ chromGridDash: Sequence[float]
481
+ chromGridDashOffset: float
482
+ chromGridFillEven: str
483
+ chromGridFillOdd: str
484
+ chromGridOpacity: float
485
+ chromGridWidth: float
486
+ chromLabelAlign: Align_T
487
+ chromLabelColor: str
488
+ chromLabelFont: str
489
+ chromLabelFontSize: float
490
+ chromLabelFontStyle: FontStyle_T
491
+ chromLabelFontWeight: FontWeight_T
492
+ chromLabelPadding: float
493
+ chromLabels: bool
494
+ chromTickColor: str
495
+ chromTickDash: Sequence[float]
496
+ chromTickDashOffset: float
497
+ chromTickSize: float
498
+ chromTickWidth: float
499
+ chromTicks: bool
500
+ domain: bool
501
+ domainCap: Literal["butt", "round", "square"]
502
+ domainColor: str
503
+ domainDash: Sequence[float]
504
+ domainDashOffset: float
505
+ domainWidth: float
506
+ extraValues: Sequence[float]
507
+ format: str
508
+ grid: bool
509
+ gridCap: Literal["butt", "round", "square"]
510
+ gridColor: str
511
+ gridDash: Sequence[float]
512
+ gridDashOffset: float
513
+ gridOpacity: float
514
+ gridWidth: float
515
+ labelAlign: Align_T
516
+ labelAngle: float
517
+ labelBaseline: Baseline_T
518
+ labelColor: str
519
+ labelFlush: bool | float
520
+ labelFlushOffset: float
521
+ labelFont: str
522
+ labelFontSize: float
523
+ labelFontStyle: FontStyle_T
524
+ labelFontWeight: FontWeight_T
525
+ labelLimit: float
526
+ labelOverlap: bool | Literal["parity"] | Literal["greedy"]
527
+ labelPadding: float
528
+ labelSeparation: float
529
+ labels: bool
530
+ maxExtent: float
531
+ minExtent: float
532
+ offset: float
533
+ orient: AxisOrient_T
534
+ placement: AxisPlacement_T
535
+ style: str | Sequence[str] | None
536
+ tickCap: Literal["butt", "round", "square"]
537
+ tickColor: str
538
+ tickCount: float | ExprRef | dict[str, Any]
539
+ tickDash: Sequence[float]
540
+ tickDashOffset: float
541
+ tickMinStep: float
542
+ tickSize: float
543
+ tickWidth: float
544
+ ticks: bool
545
+ title: str | None
546
+ titleColor: str
547
+ titleFit: Literal["point", "range"]
548
+ titleFont: str
549
+ titleFontSize: float
550
+ titleFontStyle: FontStyle_T
551
+ titleFontWeight: FontWeight_T
552
+ titleOpacity: float
553
+ titlePadding: float
554
+ values: Sequence[Any]
555
+ zindex: float
556
+
557
+
558
+ class GenomeSpyConfigKwds(TypedDict, total=False):
559
+ """TypedDict helper for raw ``GenomeSpyConfig`` mappings."""
560
+
561
+ arrow: ArrowConfig | dict[str, Any]
562
+ axis: AxisConfig | AxisConfigKwds
563
+ axisBottom: AxisConfig | AxisConfigKwds
564
+ axisIndex: AxisConfig | AxisConfigKwds
565
+ axisLeft: AxisConfig | AxisConfigKwds
566
+ axisLocus: AxisConfig | AxisConfigKwds
567
+ axisNominal: AxisConfig | AxisConfigKwds
568
+ axisOrdinal: AxisConfig | AxisConfigKwds
569
+ axisQuantitative: AxisConfig | AxisConfigKwds
570
+ axisRight: AxisConfig | AxisConfigKwds
571
+ axisTop: AxisConfig | AxisConfigKwds
572
+ axisX: AxisConfig | AxisConfigKwds
573
+ axisY: AxisConfig | AxisConfigKwds
574
+ legend: LegendConfig | LegendConfigKwds
575
+ legendTrack: LegendConfig | LegendConfigKwds
576
+ link: LinkConfig | LinkConfigKwds
577
+ mark: MarkConfig | MarkConfigKwds
578
+ point: PointConfig | PointConfigKwds
579
+ range: RangeConfig | RangeConfigKwds
580
+ rect: RectConfig | RectConfigKwds
581
+ rule: RuleConfig | RuleConfigKwds
582
+ scale: ScaleConfig | ScaleConfigKwds
583
+ style: dict[str, Any]
584
+ text: TextConfig | TextConfigKwds
585
+ tick: TickConfig | dict[str, Any]
586
+ title: TitleConfig | TitleConfigKwds
587
+ view: ViewConfig | ViewConfigKwds
588
+
589
+
590
+ class HandledTooltipKwds(TypedDict, total=False):
591
+ """TypedDict helper for raw ``HandledTooltip`` mappings."""
592
+
593
+ handler: str
594
+ params: dict[str, Any]
595
+
596
+
597
+ class LegendKwds(TypedDict, total=False):
598
+ """TypedDict helper for raw ``Legend`` mappings."""
599
+
600
+ backgroundFill: str
601
+ backgroundFillOpacity: float
602
+ backgroundStroke: str
603
+ backgroundStrokeOpacity: float
604
+ backgroundStrokeWidth: float
605
+ columns: float
606
+ direction: LegendDirection_T
607
+ gradientLength: float
608
+ gradientOpacity: float
609
+ gradientStrokeColor: str
610
+ gradientStrokeWidth: float
611
+ gradientThickness: float
612
+ labelLimit: float
613
+ offset: float
614
+ orient: LegendOrient_T | ExprRef | dict[str, Any]
615
+ padding: float
616
+ style: str | Sequence[str] | None
617
+ symbolFillColor: str
618
+ symbolOpacity: float
619
+ symbolSize: float
620
+ symbolStrokeColor: str
621
+ symbolStrokeWidth: float
622
+ symbolType: str
623
+ tickCount: float
624
+ title: str | None
625
+ titleOrient: LegendTitleOrient_T
626
+ values: Sequence[str | float | bool]
627
+
628
+
629
+ class LegendConfigKwds(TypedDict, total=False):
630
+ """TypedDict helper for raw ``LegendConfig`` mappings."""
631
+
632
+ backgroundFill: str
633
+ backgroundFillOpacity: float
634
+ backgroundStroke: str
635
+ backgroundStrokeOpacity: float
636
+ backgroundStrokeWidth: float
637
+ columnPadding: float
638
+ columns: float
639
+ direction: LegendDirection_T
640
+ disable: bool | ExprRef | dict[str, Any]
641
+ gradientLength: float
642
+ gradientOpacity: float
643
+ gradientStrokeColor: str
644
+ gradientStrokeWidth: float
645
+ gradientThickness: float
646
+ labelAlign: Align_T
647
+ labelBaseline: Baseline_T
648
+ labelColor: str
649
+ labelFont: str
650
+ labelFontSize: float
651
+ labelFontStyle: FontStyle_T
652
+ labelFontWeight: FontWeight_T
653
+ labelLimit: float
654
+ labelOffset: float
655
+ layout: LegendLayout | dict[str, Any]
656
+ offset: float
657
+ orient: LegendOrient_T | ExprRef | dict[str, Any]
658
+ padding: float
659
+ rowPadding: float
660
+ spacing: float
661
+ style: str | Sequence[str] | None
662
+ symbolBaseFillColor: str
663
+ symbolBaseStrokeColor: str
664
+ symbolFillColor: str
665
+ symbolOffset: float
666
+ symbolOpacity: float
667
+ symbolSize: float
668
+ symbolStrokeColor: str
669
+ symbolStrokeWidth: float
670
+ symbolType: str
671
+ tickCount: float
672
+ title: str | None
673
+ titleColor: str
674
+ titleFont: str
675
+ titleFontSize: float
676
+ titleFontStyle: FontStyle_T
677
+ titleFontWeight: FontWeight_T
678
+ titleLimit: float
679
+ titleOrient: LegendTitleOrient_T
680
+ titlePadding: float
681
+ values: Sequence[str | float | bool]
682
+
683
+
684
+ class LinkConfigKwds(TypedDict, total=False):
685
+ """TypedDict helper for raw ``LinkConfig`` mappings."""
686
+
687
+ arcFadingDistance: Sequence[float] | Literal[False] | ExprRef | dict[str, Any]
688
+ arcHeightFactor: float | ExprRef | dict[str, Any]
689
+ buildIndex: bool
690
+ clampApex: bool | ExprRef | dict[str, Any]
691
+ clip: bool | Literal["x"] | Literal["y"] | Literal["never"]
692
+ color: str | ExprRef | dict[str, Any]
693
+ cullByVisibleRange: bool | Literal["x"] | Literal["y"]
694
+ cursor: str | ExprRef | dict[str, Any]
695
+ linkShape: (
696
+ Literal["arc"]
697
+ | Literal["diagonal"]
698
+ | Literal["line"]
699
+ | Literal["dome"]
700
+ | ExprRef
701
+ | dict[str, Any]
702
+ )
703
+ maxChordLength: float | ExprRef | dict[str, Any]
704
+ minArcHeight: float | ExprRef | dict[str, Any]
705
+ minPickingSize: float | ExprRef | dict[str, Any]
706
+ noFadingOnPointSelection: bool | ExprRef | dict[str, Any]
707
+ opacity: float | ExprRef | dict[str, Any]
708
+ orient: Literal["vertical"] | Literal["horizontal"] | ExprRef | dict[str, Any]
709
+ segments: float | ExprRef | dict[str, Any]
710
+ size: float | ExprRef | dict[str, Any]
711
+ style: str | Sequence[str]
712
+ tooltip: HandledTooltip | HandledTooltipKwds | None | Literal[False]
713
+ x: float | ExprRef | dict[str, Any]
714
+ x2: float | ExprRef | dict[str, Any]
715
+ x2Offset: float | ExprRef | dict[str, Any]
716
+ xOffset: float | ExprRef | dict[str, Any]
717
+ y: float | ExprRef | dict[str, Any]
718
+ y2: float | ExprRef | dict[str, Any]
719
+ y2Offset: float | ExprRef | dict[str, Any]
720
+ yOffset: float | ExprRef | dict[str, Any]
721
+
722
+
723
+ class MarkConfigKwds(TypedDict, total=False):
724
+ """TypedDict helper for raw ``MarkConfig`` mappings."""
725
+
726
+ buildIndex: bool
727
+ clip: bool | Literal["x"] | Literal["y"] | Literal["never"]
728
+ color: str | ExprRef | dict[str, Any]
729
+ cullByVisibleRange: bool | Literal["x"] | Literal["y"]
730
+ cursor: str | ExprRef | dict[str, Any]
731
+ opacity: float | ExprRef | dict[str, Any]
732
+ style: str | Sequence[str]
733
+ tooltip: HandledTooltip | HandledTooltipKwds | None | Literal[False]
734
+ x: float | ExprRef | dict[str, Any]
735
+ x2Offset: float | ExprRef | dict[str, Any]
736
+ xOffset: float | ExprRef | dict[str, Any]
737
+ y: float | ExprRef | dict[str, Any]
738
+ y2Offset: float | ExprRef | dict[str, Any]
739
+ yOffset: float | ExprRef | dict[str, Any]
740
+
741
+
742
+ class PaddingsKwds(TypedDict, total=False):
743
+ """TypedDict helper for raw ``Paddings`` mappings."""
744
+
745
+ bottom: float
746
+ left: float
747
+ right: float
748
+ top: float
749
+
750
+
751
+ class ParameterKwds(TypedDict, total=False):
752
+ """TypedDict helper for raw ``Parameter`` mappings."""
753
+
754
+ bind: (
755
+ BindCheckbox
756
+ | BindCheckboxKwds
757
+ | BindRadioSelect
758
+ | BindRadioSelectKwds
759
+ | BindRange
760
+ | BindRangeKwds
761
+ | BindInput
762
+ | BindInputKwds
763
+ )
764
+ description: str
765
+ expr: str
766
+ name: str
767
+ persist: bool
768
+ push: Literal["outer"]
769
+ ruler: RulerConfig | RulerConfigKwds
770
+ select: (
771
+ SelectionType_T
772
+ | PointSelectionConfig
773
+ | dict[str, Any]
774
+ | IntervalSelectionConfig
775
+ )
776
+ transition: LerpTransition | dict[str, Any]
777
+ value: RulerInitMapping | dict[str, Any]
778
+
779
+
780
+ class ParseKwds(TypedDict, total=False):
781
+ """TypedDict helper for raw ``Parse`` mappings."""
782
+
783
+ pass
784
+
785
+
786
+ class PointConfigKwds(TypedDict, total=False):
787
+ """TypedDict helper for raw ``PointConfig`` mappings."""
788
+
789
+ angle: float | ExprRef | dict[str, Any]
790
+ buildIndex: bool
791
+ clip: bool | Literal["x"] | Literal["y"] | Literal["never"]
792
+ color: str | ExprRef | dict[str, Any]
793
+ cullByVisibleRange: bool | Literal["x"] | Literal["y"]
794
+ cursor: str | ExprRef | dict[str, Any]
795
+ dx: float | ExprRef | dict[str, Any]
796
+ dy: float | ExprRef | dict[str, Any]
797
+ fill: str | ExprRef | dict[str, Any]
798
+ fillGradientStrength: float | ExprRef | dict[str, Any]
799
+ fillOpacity: float | ExprRef | dict[str, Any]
800
+ filled: bool
801
+ geometricZoomBound: float
802
+ inwardStroke: bool | ExprRef | dict[str, Any]
803
+ minPickingSize: float | ExprRef | dict[str, Any]
804
+ opacity: float | ExprRef | dict[str, Any]
805
+ sampleFacetPadding: float
806
+ semanticScore: float | ExprRef | dict[str, Any]
807
+ semanticZoomFraction: float | ExprRef | dict[str, Any]
808
+ shape: str | ExprRef | dict[str, Any]
809
+ size: float | ExprRef | dict[str, Any]
810
+ stroke: str | ExprRef | dict[str, Any]
811
+ strokeOpacity: float | ExprRef | dict[str, Any]
812
+ strokeWidth: float | ExprRef | dict[str, Any]
813
+ style: str | Sequence[str]
814
+ tooltip: HandledTooltip | HandledTooltipKwds | None | Literal[False]
815
+ x: float | ExprRef | dict[str, Any]
816
+ x2Offset: float | ExprRef | dict[str, Any]
817
+ xOffset: float | ExprRef | dict[str, Any]
818
+ y: float | ExprRef | dict[str, Any]
819
+ y2Offset: float | ExprRef | dict[str, Any]
820
+ yOffset: float | ExprRef | dict[str, Any]
821
+
822
+
823
+ class RangeConfigKwds(TypedDict, total=False):
824
+ """TypedDict helper for raw ``RangeConfig`` mappings."""
825
+
826
+ angle: Sequence[float]
827
+ diverging: str | SchemeParams | SchemeParamsKwds
828
+ heatmap: str | SchemeParams | SchemeParamsKwds
829
+ ramp: str | SchemeParams | SchemeParamsKwds
830
+ shape: Sequence[str]
831
+ size: Sequence[float]
832
+
833
+
834
+ class RectConfigKwds(TypedDict, total=False):
835
+ """TypedDict helper for raw ``RectConfig`` mappings."""
836
+
837
+ buildIndex: bool
838
+ clip: bool | Literal["x"] | Literal["y"] | Literal["never"]
839
+ color: str | ExprRef | dict[str, Any]
840
+ cornerRadius: float | ExprRef | dict[str, Any]
841
+ cornerRadiusBottomLeft: float | ExprRef | dict[str, Any]
842
+ cornerRadiusBottomRight: float | ExprRef | dict[str, Any]
843
+ cornerRadiusTopLeft: float | ExprRef | dict[str, Any]
844
+ cornerRadiusTopRight: float | ExprRef | dict[str, Any]
845
+ cullByVisibleRange: bool | Literal["x"] | Literal["y"]
846
+ cursor: str | ExprRef | dict[str, Any]
847
+ fill: str | ExprRef | dict[str, Any]
848
+ fillOpacity: float | ExprRef | dict[str, Any]
849
+ filled: bool
850
+ hatch: (
851
+ Literal["none"]
852
+ | Literal["diagonal"]
853
+ | Literal["antiDiagonal"]
854
+ | Literal["cross"]
855
+ | Literal["vertical"]
856
+ | Literal["horizontal"]
857
+ | Literal["grid"]
858
+ | Literal["dots"]
859
+ | Literal["rings"]
860
+ | Literal["ringsLarge"]
861
+ | ExprRef
862
+ | dict[str, Any]
863
+ )
864
+ minHeight: float | ExprRef | dict[str, Any]
865
+ minOpacity: float | ExprRef | dict[str, Any]
866
+ minWidth: float | ExprRef | dict[str, Any]
867
+ opacity: float | ExprRef | dict[str, Any]
868
+ shadowBlur: float | ExprRef | dict[str, Any]
869
+ shadowColor: str | ExprRef | dict[str, Any]
870
+ shadowOffsetX: float | ExprRef | dict[str, Any]
871
+ shadowOffsetY: float | ExprRef | dict[str, Any]
872
+ shadowOpacity: float | ExprRef | dict[str, Any]
873
+ stroke: str | ExprRef | dict[str, Any]
874
+ strokeOpacity: float | ExprRef | dict[str, Any]
875
+ strokeWidth: float | ExprRef | dict[str, Any]
876
+ style: str | Sequence[str]
877
+ tooltip: HandledTooltip | HandledTooltipKwds | None | Literal[False]
878
+ x: float | ExprRef | dict[str, Any]
879
+ x2: float | ExprRef | dict[str, Any]
880
+ x2Offset: float | ExprRef | dict[str, Any]
881
+ xOffset: float | ExprRef | dict[str, Any]
882
+ y: float | ExprRef | dict[str, Any]
883
+ y2: float | ExprRef | dict[str, Any]
884
+ y2Offset: float | ExprRef | dict[str, Any]
885
+ yOffset: float | ExprRef | dict[str, Any]
886
+
887
+
888
+ class RuleConfigKwds(TypedDict, total=False):
889
+ """TypedDict helper for raw ``RuleConfig`` mappings."""
890
+
891
+ buildIndex: bool
892
+ clip: bool | Literal["x"] | Literal["y"] | Literal["never"]
893
+ color: str | ExprRef | dict[str, Any]
894
+ cullByVisibleRange: bool | Literal["x"] | Literal["y"]
895
+ cursor: str | ExprRef | dict[str, Any]
896
+ minLength: float | ExprRef | dict[str, Any]
897
+ opacity: float | ExprRef | dict[str, Any]
898
+ size: float | ExprRef | dict[str, Any]
899
+ strokeCap: (
900
+ Literal["butt"]
901
+ | Literal["square"]
902
+ | Literal["round"]
903
+ | ExprRef
904
+ | dict[str, Any]
905
+ )
906
+ strokeDash: Sequence[float]
907
+ strokeDashOffset: float
908
+ style: str | Sequence[str]
909
+ tooltip: HandledTooltip | HandledTooltipKwds | None | Literal[False]
910
+ x: float | ExprRef | dict[str, Any]
911
+ x2: float | ExprRef | dict[str, Any]
912
+ x2Offset: float | ExprRef | dict[str, Any]
913
+ xOffset: float | ExprRef | dict[str, Any]
914
+ y: float | ExprRef | dict[str, Any]
915
+ y2: float | ExprRef | dict[str, Any]
916
+ y2Offset: float | ExprRef | dict[str, Any]
917
+ yOffset: float | ExprRef | dict[str, Any]
918
+
919
+
920
+ class RulerConfigKwds(TypedDict, total=False):
921
+ """TypedDict helper for raw ``RulerConfig`` mappings."""
922
+
923
+ clear: RulerClear_T
924
+ disabled: bool | ExprRef | dict[str, Any]
925
+ display: RulerDisplay_T
926
+ encodings: Sequence[PrimaryPositionalChannel_T]
927
+ extent: RulerExtent_T
928
+ mark: RulerMarkConfig | RulerMarkConfigKwds
929
+ on: RulerEventType_T | RulerEventConfig | RulerEventConfigKwds | str
930
+ snap: RulerSnap_T
931
+ source: RulerSource_T
932
+
933
+
934
+ class RulerEventConfigKwds(TypedDict, total=False):
935
+ """TypedDict helper for raw ``RulerEventConfig`` mappings."""
936
+
937
+ filter: str
938
+ type: RulerEventType_T
939
+
940
+
941
+ class RulerMarkConfigKwds(TypedDict, total=False):
942
+ """TypedDict helper for raw ``RulerMarkConfig`` mappings."""
943
+
944
+ fill: str | ExprRef | dict[str, Any]
945
+ fillOpacity: float | ExprRef | dict[str, Any]
946
+ opacity: float | ExprRef | dict[str, Any]
947
+ shadowBlur: float | ExprRef | dict[str, Any]
948
+ shadowColor: str | ExprRef | dict[str, Any]
949
+ shadowOffsetX: float | ExprRef | dict[str, Any]
950
+ shadowOffsetY: float | ExprRef | dict[str, Any]
951
+ shadowOpacity: float | ExprRef | dict[str, Any]
952
+ stroke: str | ExprRef | dict[str, Any]
953
+ strokeDash: Sequence[float]
954
+ strokeWidth: float | ExprRef | dict[str, Any]
955
+ zindex: float
956
+
957
+
958
+ class ScaleKwds(TypedDict, total=False):
959
+ """TypedDict helper for raw ``Scale`` mappings."""
960
+
961
+ align: float
962
+ assembly: str | UrlGenomeDefinition | dict[str, Any] | InlineGenomeDefinition
963
+ base: float
964
+ bins: Sequence[float]
965
+ clamp: bool
966
+ constant: float
967
+ domain: (
968
+ ScalarDomain_T
969
+ | Sequence[ChromosomalLocus | dict[str, Any]]
970
+ | SelectionDomainRef
971
+ | dict[str, Any]
972
+ | ViewportDomainRef
973
+ | ExprRef
974
+ | Sequence[float | str | bool | ExprRef | dict[str, Any]]
975
+ )
976
+ domainMax: float
977
+ domainMid: float
978
+ domainMin: float
979
+ domainTransition: bool
980
+ exponent: float
981
+ interpolate: (
982
+ ScaleInterpolate_T | ScaleInterpolateParams | ScaleInterpolateParamsKwds
983
+ )
984
+ name: str
985
+ nice: bool | float | dict[str, Any]
986
+ numberingOffset: float
987
+ padding: float
988
+ paddingInner: float
989
+ paddingOuter: float
990
+ range: Sequence[float | str | ExprRef | dict[str, Any]] | str
991
+ reverse: bool
992
+ round: bool
993
+ scheme: str | SchemeParams | SchemeParamsKwds
994
+ type: ScaleType_T
995
+ zero: bool
996
+ zoom: bool | ZoomParams | ZoomParamsKwds
997
+
998
+
999
+ class ScaleConfigKwds(TypedDict, total=False):
1000
+ """TypedDict helper for raw ``ScaleConfig`` mappings."""
1001
+
1002
+ align: float
1003
+ assembly: str | UrlGenomeDefinition | dict[str, Any] | InlineGenomeDefinition
1004
+ base: float
1005
+ bins: Sequence[float]
1006
+ clamp: bool
1007
+ constant: float
1008
+ domain: (
1009
+ ScalarDomain_T
1010
+ | Sequence[ChromosomalLocus | dict[str, Any]]
1011
+ | SelectionDomainRef
1012
+ | dict[str, Any]
1013
+ | ViewportDomainRef
1014
+ | ExprRef
1015
+ | Sequence[float | str | bool | ExprRef | dict[str, Any]]
1016
+ )
1017
+ domainMax: float
1018
+ domainMid: float
1019
+ domainMin: float
1020
+ domainTransition: bool
1021
+ exponent: float
1022
+ index: dict[str, Any]
1023
+ interpolate: (
1024
+ ScaleInterpolate_T | ScaleInterpolateParams | ScaleInterpolateParamsKwds
1025
+ )
1026
+ locus: dict[str, Any]
1027
+ name: str
1028
+ nice: bool | float | dict[str, Any]
1029
+ nominal: dict[str, Any]
1030
+ nominalColorScheme: str | SchemeParams | SchemeParamsKwds
1031
+ numberingOffset: float
1032
+ ordinal: dict[str, Any]
1033
+ ordinalColorScheme: str | SchemeParams | SchemeParamsKwds
1034
+ padding: float
1035
+ paddingInner: float
1036
+ paddingOuter: float
1037
+ quantitative: dict[str, Any]
1038
+ quantitativeColorScheme: str | SchemeParams | SchemeParamsKwds
1039
+ range: Sequence[float | str | ExprRef | dict[str, Any]] | str
1040
+ reverse: bool
1041
+ round: bool
1042
+ scheme: str | SchemeParams | SchemeParamsKwds
1043
+ type: ScaleType_T
1044
+ zero: bool
1045
+ zoom: bool | ZoomParams | ZoomParamsKwds
1046
+
1047
+
1048
+ class ScaleInterpolateParamsKwds(TypedDict, total=False):
1049
+ """TypedDict helper for raw ``ScaleInterpolateParams`` mappings."""
1050
+
1051
+ gamma: float
1052
+ type: Literal["rgb", "cubehelix", "cubehelix-long"]
1053
+
1054
+
1055
+ class SchemeParamsKwds(TypedDict, total=False):
1056
+ """TypedDict helper for raw ``SchemeParams`` mappings."""
1057
+
1058
+ count: float
1059
+ extent: Sequence[float]
1060
+ name: str
1061
+
1062
+
1063
+ class SeparatorPropsKwds(TypedDict, total=False):
1064
+ """TypedDict helper for raw ``SeparatorProps`` mappings."""
1065
+
1066
+ buildIndex: bool
1067
+ clip: bool | Literal["x"] | Literal["y"] | Literal["never"]
1068
+ color: str | ExprRef | dict[str, Any]
1069
+ cullByVisibleRange: bool | Literal["x"] | Literal["y"]
1070
+ cursor: str | ExprRef | dict[str, Any]
1071
+ includePlotMargin: bool
1072
+ minLength: float | ExprRef | dict[str, Any]
1073
+ opacity: float | ExprRef | dict[str, Any]
1074
+ size: float | ExprRef | dict[str, Any]
1075
+ strokeCap: (
1076
+ Literal["butt"]
1077
+ | Literal["square"]
1078
+ | Literal["round"]
1079
+ | ExprRef
1080
+ | dict[str, Any]
1081
+ )
1082
+ strokeDash: Sequence[float]
1083
+ strokeDashOffset: float
1084
+ style: str | Sequence[str]
1085
+ tooltip: HandledTooltip | HandledTooltipKwds | None | Literal[False]
1086
+ type: Literal["rule"]
1087
+ x: float | ExprRef | dict[str, Any]
1088
+ x2: float | ExprRef | dict[str, Any]
1089
+ x2Offset: float | ExprRef | dict[str, Any]
1090
+ xOffset: float | ExprRef | dict[str, Any]
1091
+ y: float | ExprRef | dict[str, Any]
1092
+ y2: float | ExprRef | dict[str, Any]
1093
+ y2Offset: float | ExprRef | dict[str, Any]
1094
+ yOffset: float | ExprRef | dict[str, Any]
1095
+ zindex: float
1096
+
1097
+
1098
+ class SizeDefKwds(TypedDict, total=False):
1099
+ """TypedDict helper for raw ``SizeDef`` mappings."""
1100
+
1101
+ grow: float
1102
+ maxPx: float
1103
+ minPx: float
1104
+ px: float
1105
+
1106
+
1107
+ class StepKwds(TypedDict, total=False):
1108
+ """TypedDict helper for raw ``Step`` mappings."""
1109
+
1110
+ step: float | ExprRef | dict[str, Any]
1111
+
1112
+
1113
+ class TextConfigKwds(TypedDict, total=False):
1114
+ """TypedDict helper for raw ``TextConfig`` mappings."""
1115
+
1116
+ align: Align_T
1117
+ angle: float | ExprRef | dict[str, Any]
1118
+ baseline: Baseline_T
1119
+ buildIndex: bool
1120
+ clip: bool | Literal["x"] | Literal["y"] | Literal["never"]
1121
+ color: str | ExprRef | dict[str, Any]
1122
+ cullByVisibleRange: bool | Literal["x"] | Literal["y"]
1123
+ cursor: str | ExprRef | dict[str, Any]
1124
+ dx: float
1125
+ dy: float
1126
+ fitToBand: bool | ExprRef | dict[str, Any]
1127
+ flushX: bool | ExprRef | dict[str, Any]
1128
+ flushY: bool | ExprRef | dict[str, Any]
1129
+ font: str
1130
+ fontStyle: FontStyle_T
1131
+ fontWeight: FontWeight_T
1132
+ logoLetters: bool | ExprRef | dict[str, Any]
1133
+ opacity: float | ExprRef | dict[str, Any]
1134
+ paddingX: float | ExprRef | dict[str, Any]
1135
+ paddingY: float | ExprRef | dict[str, Any]
1136
+ size: float | ExprRef | dict[str, Any]
1137
+ squeeze: bool | ExprRef | dict[str, Any]
1138
+ style: str | Sequence[str]
1139
+ text: Scalar_T | ExprRef | dict[str, Any]
1140
+ tooltip: HandledTooltip | HandledTooltipKwds | None | Literal[False]
1141
+ viewportEdgeFadeDistanceBottom: float | ExprRef | dict[str, Any]
1142
+ viewportEdgeFadeDistanceLeft: float | ExprRef | dict[str, Any]
1143
+ viewportEdgeFadeDistanceRight: float | ExprRef | dict[str, Any]
1144
+ viewportEdgeFadeDistanceTop: float | ExprRef | dict[str, Any]
1145
+ viewportEdgeFadeWidthBottom: float | ExprRef | dict[str, Any]
1146
+ viewportEdgeFadeWidthLeft: float | ExprRef | dict[str, Any]
1147
+ viewportEdgeFadeWidthRight: float | ExprRef | dict[str, Any]
1148
+ viewportEdgeFadeWidthTop: float | ExprRef | dict[str, Any]
1149
+ x: float | ExprRef | dict[str, Any]
1150
+ x2: float | ExprRef | dict[str, Any]
1151
+ x2Offset: float | ExprRef | dict[str, Any]
1152
+ xOffset: float | ExprRef | dict[str, Any]
1153
+ y: float | ExprRef | dict[str, Any]
1154
+ y2: float | ExprRef | dict[str, Any]
1155
+ y2Offset: float | ExprRef | dict[str, Any]
1156
+ yOffset: float | ExprRef | dict[str, Any]
1157
+
1158
+
1159
+ class TitleKwds(TypedDict, total=False):
1160
+ """TypedDict helper for raw ``Title`` mappings."""
1161
+
1162
+ align: Align_T
1163
+ anchor: TitleAnchor_T
1164
+ angle: float | ExprRef | dict[str, Any]
1165
+ baseline: Baseline_T
1166
+ color: str | ExprRef | dict[str, Any]
1167
+ dx: float
1168
+ dy: float
1169
+ font: str
1170
+ fontSize: float | ExprRef | dict[str, Any]
1171
+ fontStyle: FontStyle_T
1172
+ fontWeight: FontWeight_T
1173
+ frame: TitleFrame_T
1174
+ offset: float
1175
+ orient: TitleOrient_T
1176
+ reserve: bool
1177
+ style: str | Sequence[str]
1178
+ subtitle: str | ExprRef | dict[str, Any]
1179
+ subtitleColor: str | ExprRef | dict[str, Any]
1180
+ subtitleFont: str
1181
+ subtitleFontSize: float | ExprRef | dict[str, Any]
1182
+ subtitleFontStyle: FontStyle_T
1183
+ subtitleFontWeight: FontWeight_T
1184
+ subtitlePadding: float
1185
+ text: str | ExprRef | dict[str, Any]
1186
+ zindex: float
1187
+
1188
+
1189
+ class TitleConfigKwds(TypedDict, total=False):
1190
+ """TypedDict helper for raw ``TitleConfig`` mappings."""
1191
+
1192
+ align: Align_T
1193
+ anchor: TitleAnchor_T
1194
+ angle: float | ExprRef | dict[str, Any]
1195
+ baseline: Baseline_T
1196
+ color: str | ExprRef | dict[str, Any]
1197
+ dx: float
1198
+ dy: float
1199
+ font: str
1200
+ fontSize: float | ExprRef | dict[str, Any]
1201
+ fontStyle: FontStyle_T
1202
+ fontWeight: FontWeight_T
1203
+ frame: TitleFrame_T
1204
+ offset: float
1205
+ orient: TitleOrient_T
1206
+ reserve: bool
1207
+ style: str | Sequence[str]
1208
+ subtitle: str | ExprRef | dict[str, Any]
1209
+ subtitleColor: str | ExprRef | dict[str, Any]
1210
+ subtitleFont: str
1211
+ subtitleFontSize: float | ExprRef | dict[str, Any]
1212
+ subtitleFontStyle: FontStyle_T
1213
+ subtitleFontWeight: FontWeight_T
1214
+ subtitlePadding: float
1215
+ zindex: float
1216
+
1217
+
1218
+ class ViewBackgroundKwds(TypedDict, total=False):
1219
+ """TypedDict helper for raw ``ViewBackground`` mappings."""
1220
+
1221
+ fill: str
1222
+ fillOpacity: float
1223
+ shadowBlur: float | ExprRef | dict[str, Any]
1224
+ shadowColor: str | ExprRef | dict[str, Any]
1225
+ shadowOffsetX: float | ExprRef | dict[str, Any]
1226
+ shadowOffsetY: float | ExprRef | dict[str, Any]
1227
+ shadowOpacity: float | ExprRef | dict[str, Any]
1228
+ stroke: str
1229
+ strokeOpacity: float
1230
+ strokeWidth: float
1231
+ strokeZindex: float
1232
+ style: str | Sequence[str]
1233
+ zindex: float
1234
+
1235
+
1236
+ class ViewConfigKwds(TypedDict, total=False):
1237
+ """TypedDict helper for raw ``ViewConfig`` mappings."""
1238
+
1239
+ continuousHeight: float
1240
+ continuousWidth: float
1241
+ discreteHeight: float | Step | StepKwds
1242
+ discreteWidth: float | Step | StepKwds
1243
+ fill: str
1244
+ fillOpacity: float
1245
+ shadowBlur: float | ExprRef | dict[str, Any]
1246
+ shadowColor: str | ExprRef | dict[str, Any]
1247
+ shadowOffsetX: float | ExprRef | dict[str, Any]
1248
+ shadowOffsetY: float | ExprRef | dict[str, Any]
1249
+ shadowOpacity: float | ExprRef | dict[str, Any]
1250
+ step: float | ExprRef | dict[str, Any]
1251
+ stroke: str
1252
+ strokeOpacity: float
1253
+ strokeWidth: float
1254
+ strokeZindex: float
1255
+ zindex: float
1256
+
1257
+
1258
+ class ZoomParamsKwds(TypedDict, total=False):
1259
+ """TypedDict helper for raw ``ZoomParams`` mappings."""
1260
+
1261
+ extent: (
1262
+ ScalarDomain_T
1263
+ | Sequence[ChromosomalLocus | dict[str, Any]]
1264
+ | Literal["data"]
1265
+ | Literal["unbounded"]
1266
+ )
1267
+
1268
+
1269
+ class AxesKwds(TypedDict, total=False):
1270
+ """TypedDict helper for raw ``Axes`` mappings."""
1271
+
1272
+ x: GenomeAxis | GenomeAxisKwds
1273
+ y: GenomeAxis | GenomeAxisKwds
1274
+
1275
+
1276
+ class LegendsKwds(TypedDict, total=False):
1277
+ """TypedDict helper for raw ``Legends`` mappings."""
1278
+
1279
+ angle: Legend | LegendKwds
1280
+ color: Legend | LegendKwds
1281
+ dx: Legend | LegendKwds
1282
+ dy: Legend | LegendKwds
1283
+ fill: Legend | LegendKwds
1284
+ fillOpacity: Legend | LegendKwds
1285
+ opacity: Legend | LegendKwds
1286
+ shape: Legend | LegendKwds
1287
+ size: Legend | LegendKwds
1288
+ stroke: Legend | LegendKwds
1289
+ strokeOpacity: Legend | LegendKwds
1290
+ strokeWidth: Legend | LegendKwds
1291
+ xOffset: Legend | LegendKwds
1292
+ yOffset: Legend | LegendKwds
1293
+
1294
+
1295
+ class AxisResolveKwds(TypedDict, total=False):
1296
+ """TypedDict helper for raw ``AxisResolve`` mappings."""
1297
+
1298
+ pass
1299
+
1300
+
1301
+ class LegendResolveKwds(TypedDict, total=False):
1302
+ """TypedDict helper for raw ``LegendResolve`` mappings."""
1303
+
1304
+ pass
1305
+
1306
+
1307
+ class ScaleResolveKwds(TypedDict, total=False):
1308
+ """TypedDict helper for raw ``ScaleResolve`` mappings."""
1309
+
1310
+ pass
1311
+
1312
+
1313
+ class ResolveKwds(TypedDict, total=False):
1314
+ """TypedDict helper for raw ``Resolve`` mappings."""
1315
+
1316
+ axis: AxisResolveKwds
1317
+ legend: LegendResolveKwds
1318
+ scale: ScaleResolveKwds
1319
+
1320
+
1321
+ class ScalesKwds(TypedDict, total=False):
1322
+ """TypedDict helper for raw ``Scales`` mappings."""
1323
+
1324
+ angle: Scale | ScaleKwds
1325
+ color: Scale | ScaleKwds
1326
+ direction: Scale | ScaleKwds
1327
+ dx: Scale | ScaleKwds
1328
+ dy: Scale | ScaleKwds
1329
+ fill: Scale | ScaleKwds
1330
+ fillOpacity: Scale | ScaleKwds
1331
+ opacity: Scale | ScaleKwds
1332
+ shape: Scale | ScaleKwds
1333
+ size: Scale | ScaleKwds
1334
+ stroke: Scale | ScaleKwds
1335
+ strokeOpacity: Scale | ScaleKwds
1336
+ strokeWidth: Scale | ScaleKwds
1337
+ x: Scale | ScaleKwds
1338
+ x2: Scale | ScaleKwds
1339
+ xOffset: Scale | ScaleKwds
1340
+ y: Scale | ScaleKwds
1341
+ y2: Scale | ScaleKwds
1342
+ yOffset: Scale | ScaleKwds
1343
+
1344
+
1345
+ __all__ = [
1346
+ "AxisKwds",
1347
+ "AxisConfigKwds",
1348
+ "BindCheckboxKwds",
1349
+ "BindInputKwds",
1350
+ "BindRadioSelectKwds",
1351
+ "BindRangeKwds",
1352
+ "CompareParamsKwds",
1353
+ "DataFormatKwds",
1354
+ "DynamicOpacityKwds",
1355
+ "EncodingKwds",
1356
+ "EventConfigKwds",
1357
+ "GenomeAxisKwds",
1358
+ "GenomeSpyConfigKwds",
1359
+ "HandledTooltipKwds",
1360
+ "LegendKwds",
1361
+ "LegendConfigKwds",
1362
+ "LinkConfigKwds",
1363
+ "MarkConfigKwds",
1364
+ "PaddingsKwds",
1365
+ "ParameterKwds",
1366
+ "ParseKwds",
1367
+ "PointConfigKwds",
1368
+ "RangeConfigKwds",
1369
+ "RectConfigKwds",
1370
+ "RuleConfigKwds",
1371
+ "RulerConfigKwds",
1372
+ "RulerEventConfigKwds",
1373
+ "RulerMarkConfigKwds",
1374
+ "ScaleKwds",
1375
+ "ScaleConfigKwds",
1376
+ "ScaleInterpolateParamsKwds",
1377
+ "SchemeParamsKwds",
1378
+ "SeparatorPropsKwds",
1379
+ "SizeDefKwds",
1380
+ "StepKwds",
1381
+ "TextConfigKwds",
1382
+ "TitleKwds",
1383
+ "TitleConfigKwds",
1384
+ "ViewBackgroundKwds",
1385
+ "ViewConfigKwds",
1386
+ "ZoomParamsKwds",
1387
+ "AxesKwds",
1388
+ "LegendsKwds",
1389
+ "AxisResolveKwds",
1390
+ "LegendResolveKwds",
1391
+ "ScaleResolveKwds",
1392
+ "ResolveKwds",
1393
+ "ScalesKwds",
1394
+ ]