vgplot 0.29.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.
- vgplot/__init__.py +102 -0
- vgplot/_generated/__init__.py +10 -0
- vgplot/_generated/attributes.py +1293 -0
- vgplot/_generated/encodings.py +252 -0
- vgplot/_generated/marks.py +4124 -0
- vgplot/_types.py +29 -0
- vgplot/data.py +55 -0
- vgplot/encodings.py +11 -0
- vgplot/params.py +90 -0
- vgplot/plot.py +546 -0
- vgplot/spec.py +304 -0
- vgplot/util.py +14 -0
- vgplot-0.29.0.dist-info/METADATA +136 -0
- vgplot-0.29.0.dist-info/RECORD +15 -0
- vgplot-0.29.0.dist-info/WHEEL +4 -0
|
@@ -0,0 +1,1293 @@
|
|
|
1
|
+
# DO NOT EDIT. Generated from the Mosaic JSON schema by bin/generate-python-api.js.
|
|
2
|
+
# Regenerate with: pnpm run generate:python-api
|
|
3
|
+
|
|
4
|
+
from .._types import AttrValue
|
|
5
|
+
from ..plot import Directive
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
def align(value: AttrValue) -> Directive:
|
|
9
|
+
"""How to distribute unused space in the **range** for *point* and *band* scales."""
|
|
10
|
+
return Directive("align", value)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
def aria_description(value: AttrValue) -> Directive:
|
|
14
|
+
"""The aria-description attribute on the SVG root."""
|
|
15
|
+
return Directive("ariaDescription", value)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
def aria_label(value: AttrValue) -> Directive:
|
|
19
|
+
"""The aria-label attribute on the SVG root."""
|
|
20
|
+
return Directive("ariaLabel", value)
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
def aspect_ratio(value: AttrValue = True) -> Directive:
|
|
24
|
+
"""The desired aspect ratio of the *x* and *y* scales, affecting the default height."""
|
|
25
|
+
return Directive("aspectRatio", value)
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
def axis(value: AttrValue = True) -> Directive:
|
|
29
|
+
"""The side of the frame on which to place the implicit axis: *top* or *bottom* for *x* or *fx*, or *left* or *right* for *y* or *fy*."""
|
|
30
|
+
return Directive("axis", value)
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
def clip(value: AttrValue = True) -> Directive:
|
|
34
|
+
"""The default clip for all marks."""
|
|
35
|
+
return Directive("clip", value)
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
def color_base(value: AttrValue) -> Directive:
|
|
39
|
+
"""A log scale’s base; defaults to 10."""
|
|
40
|
+
return Directive("colorBase", value)
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
def color_clamp(value: AttrValue = True) -> Directive:
|
|
44
|
+
"""If true, values below the domain minimum are treated as the domain minimum, and values above the domain maximum are treated as the domain maximum."""
|
|
45
|
+
return Directive("colorClamp", value)
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
def color_constant(value: AttrValue) -> Directive:
|
|
49
|
+
"""A symlog scale’s constant, expressing the magnitude of the linear region around the origin; defaults to 1."""
|
|
50
|
+
return Directive("colorConstant", value)
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
def color_domain(value: AttrValue) -> Directive:
|
|
54
|
+
"""The extent of the scale’s inputs (abstract values)."""
|
|
55
|
+
return Directive("colorDomain", value)
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
def color_exponent(value: AttrValue) -> Directive:
|
|
59
|
+
"""A power scale’s exponent (*e.g.*, 0.5 for sqrt); defaults to 1 for a linear scale."""
|
|
60
|
+
return Directive("colorExponent", value)
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
def color_interpolate(value: AttrValue) -> Directive:
|
|
64
|
+
"""How to interpolate color range values."""
|
|
65
|
+
return Directive("colorInterpolate", value)
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
def color_label(value: AttrValue) -> Directive:
|
|
69
|
+
"""A textual label to show on the axis or legend; if null, show no label."""
|
|
70
|
+
return Directive("colorLabel", value)
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
def color_n(value: AttrValue) -> Directive:
|
|
74
|
+
"""For a *quantile* scale, the number of quantiles (creates *n* - 1 thresholds); for a *quantize* scale, the approximate number of thresholds; defaults to 5."""
|
|
75
|
+
return Directive("colorN", value)
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
def color_nice(value: AttrValue = True) -> Directive:
|
|
79
|
+
"""If true, or a tick count or interval, extend the domain to nice round values."""
|
|
80
|
+
return Directive("colorNice", value)
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
def color_percent(value: AttrValue = True) -> Directive:
|
|
84
|
+
"""If true, shorthand for a transform suitable for percentages, mapping proportions in 0, 1 to 0, 100."""
|
|
85
|
+
return Directive("colorPercent", value)
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
def color_pivot(value: AttrValue) -> Directive:
|
|
89
|
+
"""For a diverging color scale, the input value (abstract value) that divides the domain into two parts; defaults to 0 for *diverging* scales, dividing the domain into negative and positive parts; defaults to 1 for *diverging-log* scales."""
|
|
90
|
+
return Directive("colorPivot", value)
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
def color_range(value: AttrValue) -> Directive:
|
|
94
|
+
"""The extent of the scale’s outputs (visual values)."""
|
|
95
|
+
return Directive("colorRange", value)
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
def color_reverse(value: AttrValue = True) -> Directive:
|
|
99
|
+
"""Whether to reverse the scale’s encoding; equivalent to reversing either the **domain** or **range**."""
|
|
100
|
+
return Directive("colorReverse", value)
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
def color_scale(value: AttrValue) -> Directive:
|
|
104
|
+
"""The *color* scale type, affecting how the scale encodes abstract data, say by applying a mathematical transformation."""
|
|
105
|
+
return Directive("colorScale", value)
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
def color_scheme(value: AttrValue) -> Directive:
|
|
109
|
+
"""If specified, shorthand for setting the **colorRange** or **colorInterpolate** option of a *color* scale."""
|
|
110
|
+
return Directive("colorScheme", value)
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
def color_symmetric(value: AttrValue = True) -> Directive:
|
|
114
|
+
"""For a diverging color scale, if true (the default), extend the domain to ensure that the lower part of the domain (below the **pivot**) is commensurate with the upper part of the domain (above the **pivot**)."""
|
|
115
|
+
return Directive("colorSymmetric", value)
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
def color_tick_format(value: AttrValue) -> Directive:
|
|
119
|
+
"""How to format inputs (abstract values) for axis tick labels; one of: - a d3-format string for numeric scales - a d3-time-format string for temporal scales : https://d3js.org/d3-time : https://d3js.org/d3-time-format"""
|
|
120
|
+
return Directive("colorTickFormat", value)
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
def color_zero(value: AttrValue = True) -> Directive:
|
|
124
|
+
"""Whether the **domain** must include zero."""
|
|
125
|
+
return Directive("colorZero", value)
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
def facet_grid(value: AttrValue = True) -> Directive:
|
|
129
|
+
"""Default axis grid for fx and fy scales; typically set to true to enable."""
|
|
130
|
+
return Directive("facetGrid", value)
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
def facet_label(value: AttrValue) -> Directive:
|
|
134
|
+
"""Default axis label for fx and fy scales; typically set to null to disable."""
|
|
135
|
+
return Directive("facetLabel", value)
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
def facet_margin(value: AttrValue) -> Directive:
|
|
139
|
+
"""Shorthand to set the same default for all four facet margins: marginTop, marginRight, marginBottom, and marginLeft."""
|
|
140
|
+
return Directive("facetMargin", value)
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
def facet_margin_bottom(value: AttrValue) -> Directive:
|
|
144
|
+
"""The right facet margin; the (minimum) distance in pixels between the right edges of the inner and outer plot area."""
|
|
145
|
+
return Directive("facetMarginBottom", value)
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
def facet_margin_left(value: AttrValue) -> Directive:
|
|
149
|
+
"""The bottom facet margin; the (minimum) distance in pixels between the bottom edges of the inner and outer plot area."""
|
|
150
|
+
return Directive("facetMarginLeft", value)
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
def facet_margin_right(value: AttrValue) -> Directive:
|
|
154
|
+
"""The left facet margin; the (minimum) distance in pixels between the left edges of the inner and outer plot area."""
|
|
155
|
+
return Directive("facetMarginRight", value)
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
def facet_margin_top(value: AttrValue) -> Directive:
|
|
159
|
+
"""The top facet margin; the (minimum) distance in pixels between the top edges of the inner and outer plot area."""
|
|
160
|
+
return Directive("facetMarginTop", value)
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
def fx_align(value: AttrValue) -> Directive:
|
|
164
|
+
"""How to distribute unused space in the **range** for *point* and *band* scales."""
|
|
165
|
+
return Directive("fxAlign", value)
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
def fx_aria_description(value: AttrValue) -> Directive:
|
|
169
|
+
"""A textual description for the axis in the accessibility tree."""
|
|
170
|
+
return Directive("fxAriaDescription", value)
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
def fx_aria_label(value: AttrValue) -> Directive:
|
|
174
|
+
"""A short label representing the axis in the accessibility tree."""
|
|
175
|
+
return Directive("fxAriaLabel", value)
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
def fx_axis(value: AttrValue = True) -> Directive:
|
|
179
|
+
"""The side of the frame on which to place the implicit axis: *top* or *bottom* for *fx*."""
|
|
180
|
+
return Directive("fxAxis", value)
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
def fx_domain(value: AttrValue) -> Directive:
|
|
184
|
+
"""The extent of the scale’s inputs (abstract values)."""
|
|
185
|
+
return Directive("fxDomain", value)
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
def fx_font_variant(value: AttrValue) -> Directive:
|
|
189
|
+
"""The font-variant attribute for axis ticks; defaults to *tabular-nums* for quantitative axes."""
|
|
190
|
+
return Directive("fxFontVariant", value)
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
def fx_grid(value: AttrValue = True) -> Directive:
|
|
194
|
+
"""Whether to show a grid aligned with the scale’s ticks."""
|
|
195
|
+
return Directive("fxGrid", value)
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
def fx_inset(value: AttrValue) -> Directive:
|
|
199
|
+
"""Shorthand to set the same default for all four insets: **insetTop**, **insetRight**, **insetBottom**, and **insetLeft**."""
|
|
200
|
+
return Directive("fxInset", value)
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
def fx_inset_left(value: AttrValue) -> Directive:
|
|
204
|
+
"""Insets the left edge by the specified number of pixels."""
|
|
205
|
+
return Directive("fxInsetLeft", value)
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
def fx_inset_right(value: AttrValue) -> Directive:
|
|
209
|
+
"""Insets the right edge by the specified number of pixels."""
|
|
210
|
+
return Directive("fxInsetRight", value)
|
|
211
|
+
|
|
212
|
+
|
|
213
|
+
def fx_label(value: AttrValue) -> Directive:
|
|
214
|
+
"""A textual label to show on the axis or legend; if null, show no label."""
|
|
215
|
+
return Directive("fxLabel", value)
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
def fx_label_anchor(value: AttrValue) -> Directive:
|
|
219
|
+
"""Where to place the axis **label** relative to the plot’s frame."""
|
|
220
|
+
return Directive("fxLabelAnchor", value)
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
def fx_label_offset(value: AttrValue) -> Directive:
|
|
224
|
+
"""The axis **label** position offset (in pixels); default depends on margins and orientation."""
|
|
225
|
+
return Directive("fxLabelOffset", value)
|
|
226
|
+
|
|
227
|
+
|
|
228
|
+
def fx_line(value: AttrValue = True) -> Directive:
|
|
229
|
+
"""If true, draw a line along the axis; if false (default), do not."""
|
|
230
|
+
return Directive("fxLine", value)
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
def fx_padding(value: AttrValue) -> Directive:
|
|
234
|
+
"""For *band* scales, how much of the **range** to reserve to separate adjacent bands; defaults to 0.1 (10%)."""
|
|
235
|
+
return Directive("fxPadding", value)
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
def fx_padding_inner(value: AttrValue) -> Directive:
|
|
239
|
+
"""For a *band* scale, how much of the range to reserve to separate adjacent bands."""
|
|
240
|
+
return Directive("fxPaddingInner", value)
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
def fx_padding_outer(value: AttrValue) -> Directive:
|
|
244
|
+
"""For a *band* scale, how much of the range to reserve to inset first and last bands."""
|
|
245
|
+
return Directive("fxPaddingOuter", value)
|
|
246
|
+
|
|
247
|
+
|
|
248
|
+
def fx_range(value: AttrValue) -> Directive:
|
|
249
|
+
"""The extent of the scale’s outputs (visual values)."""
|
|
250
|
+
return Directive("fxRange", value)
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
def fx_reverse(value: AttrValue = True) -> Directive:
|
|
254
|
+
"""Whether to reverse the scale’s encoding; equivalent to reversing either the **domain** or **range**."""
|
|
255
|
+
return Directive("fxReverse", value)
|
|
256
|
+
|
|
257
|
+
|
|
258
|
+
def fx_round(value: AttrValue = True) -> Directive:
|
|
259
|
+
"""If true, round the output value to the nearest integer (pixel); useful for crisp edges when rendering."""
|
|
260
|
+
return Directive("fxRound", value)
|
|
261
|
+
|
|
262
|
+
|
|
263
|
+
def fx_tick_format(value: AttrValue) -> Directive:
|
|
264
|
+
"""How to format inputs (abstract values) for axis tick labels; one of: - a d3-format string for numeric scales - a d3-time-format string for temporal scales : https://d3js.org/d3-time : https://d3js.org/d3-time-format"""
|
|
265
|
+
return Directive("fxTickFormat", value)
|
|
266
|
+
|
|
267
|
+
|
|
268
|
+
def fx_tick_padding(value: AttrValue) -> Directive:
|
|
269
|
+
"""The distance between an axis tick mark and its associated text label (in pixels); often defaults to 3, but may be affected by **fxTickSize** and **fxTickRotate**."""
|
|
270
|
+
return Directive("fxTickPadding", value)
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+
def fx_tick_rotate(value: AttrValue) -> Directive:
|
|
274
|
+
"""The rotation angle of axis tick labels in degrees clocksize; defaults to 0."""
|
|
275
|
+
return Directive("fxTickRotate", value)
|
|
276
|
+
|
|
277
|
+
|
|
278
|
+
def fx_ticks(value: AttrValue) -> Directive:
|
|
279
|
+
"""The desired approximate number of axis ticks, or an explicit array of tick values, or an interval such as *day* or *month*."""
|
|
280
|
+
return Directive("fxTicks", value)
|
|
281
|
+
|
|
282
|
+
|
|
283
|
+
def fx_tick_size(value: AttrValue) -> Directive:
|
|
284
|
+
"""The length of axis tick marks in pixels; negative values extend in the opposite direction."""
|
|
285
|
+
return Directive("fxTickSize", value)
|
|
286
|
+
|
|
287
|
+
|
|
288
|
+
def fx_tick_spacing(value: AttrValue) -> Directive:
|
|
289
|
+
"""The desired approximate spacing between adjacent axis ticks, affecting the default **ticks**; defaults to 80 pixels for *x* and *fx*, and 35 pixels for *y* and *fy*."""
|
|
290
|
+
return Directive("fxTickSpacing", value)
|
|
291
|
+
|
|
292
|
+
|
|
293
|
+
def fy_align(value: AttrValue) -> Directive:
|
|
294
|
+
"""How to distribute unused space in the **range** for *point* and *band* scales."""
|
|
295
|
+
return Directive("fyAlign", value)
|
|
296
|
+
|
|
297
|
+
|
|
298
|
+
def fy_aria_description(value: AttrValue) -> Directive:
|
|
299
|
+
"""A textual description for the axis in the accessibility tree."""
|
|
300
|
+
return Directive("fyAriaDescription", value)
|
|
301
|
+
|
|
302
|
+
|
|
303
|
+
def fy_aria_label(value: AttrValue) -> Directive:
|
|
304
|
+
"""A short label representing the axis in the accessibility tree."""
|
|
305
|
+
return Directive("fyAriaLabel", value)
|
|
306
|
+
|
|
307
|
+
|
|
308
|
+
def fy_axis(value: AttrValue = True) -> Directive:
|
|
309
|
+
"""The side of the frame on which to place the implicit axis: *left* or *right* for *fy*."""
|
|
310
|
+
return Directive("fyAxis", value)
|
|
311
|
+
|
|
312
|
+
|
|
313
|
+
def fy_domain(value: AttrValue) -> Directive:
|
|
314
|
+
"""The extent of the scale’s inputs (abstract values)."""
|
|
315
|
+
return Directive("fyDomain", value)
|
|
316
|
+
|
|
317
|
+
|
|
318
|
+
def fy_font_variant(value: AttrValue) -> Directive:
|
|
319
|
+
"""The font-variant attribute for axis ticks; defaults to *tabular-nums* for quantitative axes."""
|
|
320
|
+
return Directive("fyFontVariant", value)
|
|
321
|
+
|
|
322
|
+
|
|
323
|
+
def fy_grid(value: AttrValue = True) -> Directive:
|
|
324
|
+
"""Whether to show a grid aligned with the scale’s ticks."""
|
|
325
|
+
return Directive("fyGrid", value)
|
|
326
|
+
|
|
327
|
+
|
|
328
|
+
def fy_inset(value: AttrValue) -> Directive:
|
|
329
|
+
"""Shorthand to set the same default for all four insets: **insetTop**, **insetRight**, **insetBottom**, and **insetLeft**."""
|
|
330
|
+
return Directive("fyInset", value)
|
|
331
|
+
|
|
332
|
+
|
|
333
|
+
def fy_inset_bottom(value: AttrValue) -> Directive:
|
|
334
|
+
"""Insets the bottom edge by the specified number of pixels."""
|
|
335
|
+
return Directive("fyInsetBottom", value)
|
|
336
|
+
|
|
337
|
+
|
|
338
|
+
def fy_inset_top(value: AttrValue) -> Directive:
|
|
339
|
+
"""Insets the top edge by the specified number of pixels."""
|
|
340
|
+
return Directive("fyInsetTop", value)
|
|
341
|
+
|
|
342
|
+
|
|
343
|
+
def fy_label(value: AttrValue) -> Directive:
|
|
344
|
+
"""A textual label to show on the axis or legend; if null, show no label."""
|
|
345
|
+
return Directive("fyLabel", value)
|
|
346
|
+
|
|
347
|
+
|
|
348
|
+
def fy_label_anchor(value: AttrValue) -> Directive:
|
|
349
|
+
"""Where to place the axis **label** relative to the plot’s frame."""
|
|
350
|
+
return Directive("fyLabelAnchor", value)
|
|
351
|
+
|
|
352
|
+
|
|
353
|
+
def fy_label_offset(value: AttrValue) -> Directive:
|
|
354
|
+
"""The axis **label** position offset (in pixels); default depends on margins and orientation."""
|
|
355
|
+
return Directive("fyLabelOffset", value)
|
|
356
|
+
|
|
357
|
+
|
|
358
|
+
def fy_line(value: AttrValue = True) -> Directive:
|
|
359
|
+
"""If true, draw a line along the axis; if false (default), do not."""
|
|
360
|
+
return Directive("fyLine", value)
|
|
361
|
+
|
|
362
|
+
|
|
363
|
+
def fy_padding(value: AttrValue) -> Directive:
|
|
364
|
+
"""For *band* scales, how much of the **range** to reserve to separate adjacent bands; defaults to 0.1 (10%)."""
|
|
365
|
+
return Directive("fyPadding", value)
|
|
366
|
+
|
|
367
|
+
|
|
368
|
+
def fy_padding_inner(value: AttrValue) -> Directive:
|
|
369
|
+
"""For a *band* scale, how much of the range to reserve to separate adjacent bands."""
|
|
370
|
+
return Directive("fyPaddingInner", value)
|
|
371
|
+
|
|
372
|
+
|
|
373
|
+
def fy_padding_outer(value: AttrValue) -> Directive:
|
|
374
|
+
"""For a *band* scale, how much of the range to reserve to inset first and last bands."""
|
|
375
|
+
return Directive("fyPaddingOuter", value)
|
|
376
|
+
|
|
377
|
+
|
|
378
|
+
def fy_range(value: AttrValue) -> Directive:
|
|
379
|
+
"""The extent of the scale’s outputs (visual values)."""
|
|
380
|
+
return Directive("fyRange", value)
|
|
381
|
+
|
|
382
|
+
|
|
383
|
+
def fy_reverse(value: AttrValue = True) -> Directive:
|
|
384
|
+
"""Whether to reverse the scale’s encoding; equivalent to reversing either the **domain** or **range**."""
|
|
385
|
+
return Directive("fyReverse", value)
|
|
386
|
+
|
|
387
|
+
|
|
388
|
+
def fy_round(value: AttrValue = True) -> Directive:
|
|
389
|
+
"""If true, round the output value to the nearest integer (pixel); useful for crisp edges when rendering."""
|
|
390
|
+
return Directive("fyRound", value)
|
|
391
|
+
|
|
392
|
+
|
|
393
|
+
def fy_tick_format(value: AttrValue) -> Directive:
|
|
394
|
+
"""How to format inputs (abstract values) for axis tick labels; one of: - a d3-format string for numeric scales - a d3-time-format string for temporal scales : https://d3js.org/d3-time : https://d3js.org/d3-time-format"""
|
|
395
|
+
return Directive("fyTickFormat", value)
|
|
396
|
+
|
|
397
|
+
|
|
398
|
+
def fy_tick_padding(value: AttrValue) -> Directive:
|
|
399
|
+
"""The distance between an axis tick mark and its associated text label (in pixels); often defaults to 3, but may be affected by **fyTickSize** and **fyTickRotate**."""
|
|
400
|
+
return Directive("fyTickPadding", value)
|
|
401
|
+
|
|
402
|
+
|
|
403
|
+
def fy_tick_rotate(value: AttrValue) -> Directive:
|
|
404
|
+
"""The rotation angle of axis tick labels in degrees clocksize; defaults to 0."""
|
|
405
|
+
return Directive("fyTickRotate", value)
|
|
406
|
+
|
|
407
|
+
|
|
408
|
+
def fy_ticks(value: AttrValue) -> Directive:
|
|
409
|
+
"""The desired approximate number of axis ticks, or an explicit array of tick values, or an interval such as *day* or *month*."""
|
|
410
|
+
return Directive("fyTicks", value)
|
|
411
|
+
|
|
412
|
+
|
|
413
|
+
def fy_tick_size(value: AttrValue) -> Directive:
|
|
414
|
+
"""The length of axis tick marks in pixels; negative values extend in the opposite direction."""
|
|
415
|
+
return Directive("fyTickSize", value)
|
|
416
|
+
|
|
417
|
+
|
|
418
|
+
def fy_tick_spacing(value: AttrValue) -> Directive:
|
|
419
|
+
"""The desired approximate spacing between adjacent axis ticks, affecting the default **ticks**; defaults to 80 pixels for *x* and *fx*, and 35 pixels for *y* and *fy*."""
|
|
420
|
+
return Directive("fyTickSpacing", value)
|
|
421
|
+
|
|
422
|
+
|
|
423
|
+
def grid(value: AttrValue = True) -> Directive:
|
|
424
|
+
"""Whether to show a grid aligned with the scale’s ticks."""
|
|
425
|
+
return Directive("grid", value)
|
|
426
|
+
|
|
427
|
+
|
|
428
|
+
def height(value: AttrValue) -> Directive:
|
|
429
|
+
"""The outer height of the plot in pixels, including margins."""
|
|
430
|
+
return Directive("height", value)
|
|
431
|
+
|
|
432
|
+
|
|
433
|
+
def inset(value: AttrValue) -> Directive:
|
|
434
|
+
"""Shorthand to set the same default for all four insets: **insetTop**, **insetRight**, **insetBottom**, and **insetLeft**."""
|
|
435
|
+
return Directive("inset", value)
|
|
436
|
+
|
|
437
|
+
|
|
438
|
+
def length_base(value: AttrValue) -> Directive:
|
|
439
|
+
"""A log scale’s base; defaults to 10."""
|
|
440
|
+
return Directive("lengthBase", value)
|
|
441
|
+
|
|
442
|
+
|
|
443
|
+
def length_clamp(value: AttrValue) -> Directive:
|
|
444
|
+
"""If true, values below the domain minimum are treated as the domain minimum, and values above the domain maximum are treated as the domain maximum."""
|
|
445
|
+
return Directive("lengthClamp", value)
|
|
446
|
+
|
|
447
|
+
|
|
448
|
+
def length_constant(value: AttrValue) -> Directive:
|
|
449
|
+
"""A symlog scale’s constant, expressing the magnitude of the linear region around the origin; defaults to 1."""
|
|
450
|
+
return Directive("lengthConstant", value)
|
|
451
|
+
|
|
452
|
+
|
|
453
|
+
def length_domain(value: AttrValue) -> Directive:
|
|
454
|
+
"""The extent of the scale’s inputs (abstract values)."""
|
|
455
|
+
return Directive("lengthDomain", value)
|
|
456
|
+
|
|
457
|
+
|
|
458
|
+
def length_exponent(value: AttrValue) -> Directive:
|
|
459
|
+
"""A power scale’s exponent (*e.g.*, 0.5 for sqrt); defaults to 1 for a linear scale."""
|
|
460
|
+
return Directive("lengthExponent", value)
|
|
461
|
+
|
|
462
|
+
|
|
463
|
+
def length_nice(value: AttrValue = True) -> Directive:
|
|
464
|
+
"""If true, or a tick count or interval, extend the domain to nice round values."""
|
|
465
|
+
return Directive("lengthNice", value)
|
|
466
|
+
|
|
467
|
+
|
|
468
|
+
def length_percent(value: AttrValue = True) -> Directive:
|
|
469
|
+
"""If true, shorthand for a transform suitable for percentages, mapping proportions in 0, 1 to 0, 100."""
|
|
470
|
+
return Directive("lengthPercent", value)
|
|
471
|
+
|
|
472
|
+
|
|
473
|
+
def length_range(value: AttrValue) -> Directive:
|
|
474
|
+
"""The extent of the scale’s outputs (visual values)."""
|
|
475
|
+
return Directive("lengthRange", value)
|
|
476
|
+
|
|
477
|
+
|
|
478
|
+
def length_scale(value: AttrValue) -> Directive:
|
|
479
|
+
"""The *length* scale type, affecting how the scale encodes abstract data, say by applying a mathematical transformation."""
|
|
480
|
+
return Directive("lengthScale", value)
|
|
481
|
+
|
|
482
|
+
|
|
483
|
+
def length_zero(value: AttrValue = True) -> Directive:
|
|
484
|
+
"""Whether the **domain** must include zero."""
|
|
485
|
+
return Directive("lengthZero", value)
|
|
486
|
+
|
|
487
|
+
|
|
488
|
+
def margin(value: AttrValue) -> Directive:
|
|
489
|
+
"""Shorthand to set the same default for all four margins: **marginTop**, **marginRight**, **marginBottom**, and **marginLeft**."""
|
|
490
|
+
return Directive("margin", value)
|
|
491
|
+
|
|
492
|
+
|
|
493
|
+
def margin_bottom(value: AttrValue) -> Directive:
|
|
494
|
+
"""The bottom margin; the distance in pixels between the bottom edges of the inner and outer plot area."""
|
|
495
|
+
return Directive("marginBottom", value)
|
|
496
|
+
|
|
497
|
+
|
|
498
|
+
def margin_left(value: AttrValue) -> Directive:
|
|
499
|
+
"""The left margin; the distance in pixels between the left edges of the inner and outer plot area."""
|
|
500
|
+
return Directive("marginLeft", value)
|
|
501
|
+
|
|
502
|
+
|
|
503
|
+
def margin_right(value: AttrValue) -> Directive:
|
|
504
|
+
"""The right margin; the distance in pixels between the right edges of the inner and outer plot area."""
|
|
505
|
+
return Directive("marginRight", value)
|
|
506
|
+
|
|
507
|
+
|
|
508
|
+
def margin_top(value: AttrValue) -> Directive:
|
|
509
|
+
"""The top margin; the distance in pixels between the top edges of the inner and outer plot area."""
|
|
510
|
+
return Directive("marginTop", value)
|
|
511
|
+
|
|
512
|
+
|
|
513
|
+
def name(value: AttrValue) -> Directive:
|
|
514
|
+
"""A unique name for the plot."""
|
|
515
|
+
return Directive("name", value)
|
|
516
|
+
|
|
517
|
+
|
|
518
|
+
def opacity_base(value: AttrValue) -> Directive:
|
|
519
|
+
"""A log scale’s base; defaults to 10."""
|
|
520
|
+
return Directive("opacityBase", value)
|
|
521
|
+
|
|
522
|
+
|
|
523
|
+
def opacity_clamp(value: AttrValue = True) -> Directive:
|
|
524
|
+
"""If true, values below the domain minimum are treated as the domain minimum, and values above the domain maximum are treated as the domain maximum."""
|
|
525
|
+
return Directive("opacityClamp", value)
|
|
526
|
+
|
|
527
|
+
|
|
528
|
+
def opacity_constant(value: AttrValue) -> Directive:
|
|
529
|
+
"""A symlog scale’s constant, expressing the magnitude of the linear region around the origin; defaults to 1."""
|
|
530
|
+
return Directive("opacityConstant", value)
|
|
531
|
+
|
|
532
|
+
|
|
533
|
+
def opacity_domain(value: AttrValue) -> Directive:
|
|
534
|
+
"""The extent of the scale’s inputs (abstract values)."""
|
|
535
|
+
return Directive("opacityDomain", value)
|
|
536
|
+
|
|
537
|
+
|
|
538
|
+
def opacity_exponent(value: AttrValue) -> Directive:
|
|
539
|
+
"""A power scale’s exponent (*e.g.*, 0.5 for sqrt); defaults to 1 for a linear scale."""
|
|
540
|
+
return Directive("opacityExponent", value)
|
|
541
|
+
|
|
542
|
+
|
|
543
|
+
def opacity_label(value: AttrValue) -> Directive:
|
|
544
|
+
"""A textual label to show on the axis or legend; if null, show no label."""
|
|
545
|
+
return Directive("opacityLabel", value)
|
|
546
|
+
|
|
547
|
+
|
|
548
|
+
def opacity_nice(value: AttrValue = True) -> Directive:
|
|
549
|
+
"""If true, or a tick count or interval, extend the domain to nice round values."""
|
|
550
|
+
return Directive("opacityNice", value)
|
|
551
|
+
|
|
552
|
+
|
|
553
|
+
def opacity_percent(value: AttrValue = True) -> Directive:
|
|
554
|
+
"""If true, shorthand for a transform suitable for percentages, mapping proportions in 0, 1 to 0, 100."""
|
|
555
|
+
return Directive("opacityPercent", value)
|
|
556
|
+
|
|
557
|
+
|
|
558
|
+
def opacity_range(value: AttrValue) -> Directive:
|
|
559
|
+
"""The extent of the scale’s outputs (visual values)."""
|
|
560
|
+
return Directive("opacityRange", value)
|
|
561
|
+
|
|
562
|
+
|
|
563
|
+
def opacity_reverse(value: AttrValue = True) -> Directive:
|
|
564
|
+
"""Whether to reverse the scale’s encoding; equivalent to reversing either the **domain** or **range**."""
|
|
565
|
+
return Directive("opacityReverse", value)
|
|
566
|
+
|
|
567
|
+
|
|
568
|
+
def opacity_scale(value: AttrValue) -> Directive:
|
|
569
|
+
"""The *opacity* scale type, affecting how the scale encodes abstract data, say by applying a mathematical transformation."""
|
|
570
|
+
return Directive("opacityScale", value)
|
|
571
|
+
|
|
572
|
+
|
|
573
|
+
def opacity_tick_format(value: AttrValue) -> Directive:
|
|
574
|
+
"""How to format inputs (abstract values) for axis tick labels; one of: - a d3-format string for numeric scales - a d3-time-format string for temporal scales : https://d3js.org/d3-time : https://d3js.org/d3-time-format"""
|
|
575
|
+
return Directive("opacityTickFormat", value)
|
|
576
|
+
|
|
577
|
+
|
|
578
|
+
def opacity_zero(value: AttrValue = True) -> Directive:
|
|
579
|
+
"""Whether the **domain** must include zero."""
|
|
580
|
+
return Directive("opacityZero", value)
|
|
581
|
+
|
|
582
|
+
|
|
583
|
+
def padding(value: AttrValue) -> Directive:
|
|
584
|
+
"""For *band* scales, how much of the **range** to reserve to separate adjacent bands; defaults to 0.1 (10%)."""
|
|
585
|
+
return Directive("padding", value)
|
|
586
|
+
|
|
587
|
+
|
|
588
|
+
def projection_clip(value: AttrValue = True) -> Directive:
|
|
589
|
+
"""The projection’s clipping method; one of: - *frame* or true (default) - clip to the plot’s frame (including margins but not insets) - a number - clip to a circle of the given radius in degrees centered around the origin - null or false - do not clip Some projections (such as *armadillo* and *berghaus*) require spherical clipping: in that case set the marks’ **clip** option to *sphere*."""
|
|
590
|
+
return Directive("projectionClip", value)
|
|
591
|
+
|
|
592
|
+
|
|
593
|
+
def projection_domain(value: AttrValue) -> Directive:
|
|
594
|
+
"""A GeoJSON object to fit to the plot’s frame (minus insets); defaults to a Sphere for spherical projections (outline of the the whole globe)."""
|
|
595
|
+
return Directive("projectionDomain", value)
|
|
596
|
+
|
|
597
|
+
|
|
598
|
+
def projection_inset(value: AttrValue) -> Directive:
|
|
599
|
+
"""Shorthand to set the same default for all four projection insets."""
|
|
600
|
+
return Directive("projectionInset", value)
|
|
601
|
+
|
|
602
|
+
|
|
603
|
+
def projection_inset_bottom(value: AttrValue) -> Directive:
|
|
604
|
+
"""Insets the bottom edge of the projection by the specified number of pixels."""
|
|
605
|
+
return Directive("projectionInsetBottom", value)
|
|
606
|
+
|
|
607
|
+
|
|
608
|
+
def projection_inset_left(value: AttrValue) -> Directive:
|
|
609
|
+
"""Insets the left edge of the projection by the specified number of pixels."""
|
|
610
|
+
return Directive("projectionInsetLeft", value)
|
|
611
|
+
|
|
612
|
+
|
|
613
|
+
def projection_inset_right(value: AttrValue) -> Directive:
|
|
614
|
+
"""Insets the right edge of the projection by the specified number of pixels."""
|
|
615
|
+
return Directive("projectionInsetRight", value)
|
|
616
|
+
|
|
617
|
+
|
|
618
|
+
def projection_inset_top(value: AttrValue) -> Directive:
|
|
619
|
+
"""Insets the top edge of the projection by the specified number of pixels."""
|
|
620
|
+
return Directive("projectionInsetTop", value)
|
|
621
|
+
|
|
622
|
+
|
|
623
|
+
def projection_parallels(value: AttrValue) -> Directive:
|
|
624
|
+
"""The standard parallels."""
|
|
625
|
+
return Directive("projectionParallels", value)
|
|
626
|
+
|
|
627
|
+
|
|
628
|
+
def projection_precision(value: AttrValue) -> Directive:
|
|
629
|
+
"""The projection’s sampling threshold."""
|
|
630
|
+
return Directive("projectionPrecision", value)
|
|
631
|
+
|
|
632
|
+
|
|
633
|
+
def projection_rotate(value: AttrValue) -> Directive:
|
|
634
|
+
"""A rotation of the sphere before projection; defaults to 0, 0, 0."""
|
|
635
|
+
return Directive("projectionRotate", value)
|
|
636
|
+
|
|
637
|
+
|
|
638
|
+
def projection_type(value: AttrValue) -> Directive:
|
|
639
|
+
"""The desired projection; one of: - a named built-in projection such as *albers-usa* - null, for no projection Named projections are scaled and translated to fit the **domain** to the plot’s frame (minus insets)."""
|
|
640
|
+
return Directive("projectionType", value)
|
|
641
|
+
|
|
642
|
+
|
|
643
|
+
def r_base(value: AttrValue) -> Directive:
|
|
644
|
+
"""A log scale’s base; defaults to 10."""
|
|
645
|
+
return Directive("rBase", value)
|
|
646
|
+
|
|
647
|
+
|
|
648
|
+
def r_clamp(value: AttrValue) -> Directive:
|
|
649
|
+
"""If true, values below the domain minimum are treated as the domain minimum, and values above the domain maximum are treated as the domain maximum."""
|
|
650
|
+
return Directive("rClamp", value)
|
|
651
|
+
|
|
652
|
+
|
|
653
|
+
def r_constant(value: AttrValue) -> Directive:
|
|
654
|
+
"""A symlog scale’s constant, expressing the magnitude of the linear region around the origin; defaults to 1."""
|
|
655
|
+
return Directive("rConstant", value)
|
|
656
|
+
|
|
657
|
+
|
|
658
|
+
def r_domain(value: AttrValue) -> Directive:
|
|
659
|
+
"""The extent of the scale’s inputs (abstract values)."""
|
|
660
|
+
return Directive("rDomain", value)
|
|
661
|
+
|
|
662
|
+
|
|
663
|
+
def r_exponent(value: AttrValue) -> Directive:
|
|
664
|
+
"""A power scale’s exponent (*e.g.*, 0.5 for sqrt); defaults to 1 for a linear scale."""
|
|
665
|
+
return Directive("rExponent", value)
|
|
666
|
+
|
|
667
|
+
|
|
668
|
+
def r_label(value: AttrValue) -> Directive:
|
|
669
|
+
"""A textual label to show on the axis or legend; if null, show no label."""
|
|
670
|
+
return Directive("rLabel", value)
|
|
671
|
+
|
|
672
|
+
|
|
673
|
+
def r_nice(value: AttrValue = True) -> Directive:
|
|
674
|
+
"""If true, or a tick count or interval, extend the domain to nice round values."""
|
|
675
|
+
return Directive("rNice", value)
|
|
676
|
+
|
|
677
|
+
|
|
678
|
+
def r_percent(value: AttrValue = True) -> Directive:
|
|
679
|
+
"""If true, shorthand for a transform suitable for percentages, mapping proportions in 0, 1 to 0, 100."""
|
|
680
|
+
return Directive("rPercent", value)
|
|
681
|
+
|
|
682
|
+
|
|
683
|
+
def r_range(value: AttrValue) -> Directive:
|
|
684
|
+
"""The extent of the scale’s outputs (visual values)."""
|
|
685
|
+
return Directive("rRange", value)
|
|
686
|
+
|
|
687
|
+
|
|
688
|
+
def r_scale(value: AttrValue) -> Directive:
|
|
689
|
+
"""The *r* (radius) scale type, affecting how the scale encodes abstract data, say by applying a mathematical transformation."""
|
|
690
|
+
return Directive("rScale", value)
|
|
691
|
+
|
|
692
|
+
|
|
693
|
+
def r_zero(value: AttrValue = True) -> Directive:
|
|
694
|
+
"""Whether the **domain** must include zero."""
|
|
695
|
+
return Directive("rZero", value)
|
|
696
|
+
|
|
697
|
+
|
|
698
|
+
def style(value: AttrValue) -> Directive:
|
|
699
|
+
"""Custom styles to override Plot’s defaults."""
|
|
700
|
+
return Directive("style", value)
|
|
701
|
+
|
|
702
|
+
|
|
703
|
+
def symbol_domain(value: AttrValue) -> Directive:
|
|
704
|
+
"""The extent of the scale’s inputs (abstract values)."""
|
|
705
|
+
return Directive("symbolDomain", value)
|
|
706
|
+
|
|
707
|
+
|
|
708
|
+
def symbol_range(value: AttrValue) -> Directive:
|
|
709
|
+
"""The extent of the scale’s outputs (visual values)."""
|
|
710
|
+
return Directive("symbolRange", value)
|
|
711
|
+
|
|
712
|
+
|
|
713
|
+
def symbol_scale(value: AttrValue) -> Directive:
|
|
714
|
+
"""The *symbol* scale type, affecting how the scale encodes abstract data, say by applying a mathematical transformation."""
|
|
715
|
+
return Directive("symbolScale", value)
|
|
716
|
+
|
|
717
|
+
|
|
718
|
+
def width(value: AttrValue) -> Directive:
|
|
719
|
+
"""The outer width of the plot in pixels, including margins."""
|
|
720
|
+
return Directive("width", value)
|
|
721
|
+
|
|
722
|
+
|
|
723
|
+
def x_align(value: AttrValue) -> Directive:
|
|
724
|
+
"""How to distribute unused space in the **range** for *point* and *band* scales."""
|
|
725
|
+
return Directive("xAlign", value)
|
|
726
|
+
|
|
727
|
+
|
|
728
|
+
def x_aria_description(value: AttrValue) -> Directive:
|
|
729
|
+
"""A textual description for the axis in the accessibility tree."""
|
|
730
|
+
return Directive("xAriaDescription", value)
|
|
731
|
+
|
|
732
|
+
|
|
733
|
+
def x_aria_label(value: AttrValue) -> Directive:
|
|
734
|
+
"""A short label representing the axis in the accessibility tree."""
|
|
735
|
+
return Directive("xAriaLabel", value)
|
|
736
|
+
|
|
737
|
+
|
|
738
|
+
def x_axis(value: AttrValue = True) -> Directive:
|
|
739
|
+
"""The side of the frame on which to place the implicit axis: *top* or *bottom* for *x*."""
|
|
740
|
+
return Directive("xAxis", value)
|
|
741
|
+
|
|
742
|
+
|
|
743
|
+
def x_base(value: AttrValue) -> Directive:
|
|
744
|
+
"""A log scale’s base; defaults to 10."""
|
|
745
|
+
return Directive("xBase", value)
|
|
746
|
+
|
|
747
|
+
|
|
748
|
+
def x_clamp(value: AttrValue = True) -> Directive:
|
|
749
|
+
"""If true, values below the domain minimum are treated as the domain minimum, and values above the domain maximum are treated as the domain maximum."""
|
|
750
|
+
return Directive("xClamp", value)
|
|
751
|
+
|
|
752
|
+
|
|
753
|
+
def x_constant(value: AttrValue) -> Directive:
|
|
754
|
+
"""A symlog scale’s constant, expressing the magnitude of the linear region around the origin; defaults to 1."""
|
|
755
|
+
return Directive("xConstant", value)
|
|
756
|
+
|
|
757
|
+
|
|
758
|
+
def x_domain(value: AttrValue) -> Directive:
|
|
759
|
+
"""The extent of the scale’s inputs (abstract values)."""
|
|
760
|
+
return Directive("xDomain", value)
|
|
761
|
+
|
|
762
|
+
|
|
763
|
+
def x_exponent(value: AttrValue) -> Directive:
|
|
764
|
+
"""A power scale’s exponent (*e.g.*, 0.5 for sqrt); defaults to 1 for a linear scale."""
|
|
765
|
+
return Directive("xExponent", value)
|
|
766
|
+
|
|
767
|
+
|
|
768
|
+
def x_font_variant(value: AttrValue) -> Directive:
|
|
769
|
+
"""The font-variant attribute for axis ticks; defaults to *tabular-nums* for quantitative axes."""
|
|
770
|
+
return Directive("xFontVariant", value)
|
|
771
|
+
|
|
772
|
+
|
|
773
|
+
def x_grid(value: AttrValue = True) -> Directive:
|
|
774
|
+
"""Whether to show a grid aligned with the scale’s ticks."""
|
|
775
|
+
return Directive("xGrid", value)
|
|
776
|
+
|
|
777
|
+
|
|
778
|
+
def x_inset(value: AttrValue) -> Directive:
|
|
779
|
+
"""Shorthand to set the same default for all four insets: **insetTop**, **insetRight**, **insetBottom**, and **insetLeft**."""
|
|
780
|
+
return Directive("xInset", value)
|
|
781
|
+
|
|
782
|
+
|
|
783
|
+
def x_inset_left(value: AttrValue) -> Directive:
|
|
784
|
+
"""Insets the left edge by the specified number of pixels."""
|
|
785
|
+
return Directive("xInsetLeft", value)
|
|
786
|
+
|
|
787
|
+
|
|
788
|
+
def x_inset_right(value: AttrValue) -> Directive:
|
|
789
|
+
"""Insets the right edge by the specified number of pixels."""
|
|
790
|
+
return Directive("xInsetRight", value)
|
|
791
|
+
|
|
792
|
+
|
|
793
|
+
def x_label(value: AttrValue) -> Directive:
|
|
794
|
+
"""A textual label to show on the axis or legend; if null, show no label."""
|
|
795
|
+
return Directive("xLabel", value)
|
|
796
|
+
|
|
797
|
+
|
|
798
|
+
def x_label_anchor(value: AttrValue) -> Directive:
|
|
799
|
+
"""Where to place the axis **label** relative to the plot’s frame."""
|
|
800
|
+
return Directive("xLabelAnchor", value)
|
|
801
|
+
|
|
802
|
+
|
|
803
|
+
def x_label_arrow(value: AttrValue) -> Directive:
|
|
804
|
+
"""Whether to apply a directional arrow such as → or ↑ to the x-axis scale label."""
|
|
805
|
+
return Directive("xLabelArrow", value)
|
|
806
|
+
|
|
807
|
+
|
|
808
|
+
def x_label_offset(value: AttrValue) -> Directive:
|
|
809
|
+
"""The axis **label** position offset (in pixels); default depends on margins and orientation."""
|
|
810
|
+
return Directive("xLabelOffset", value)
|
|
811
|
+
|
|
812
|
+
|
|
813
|
+
def x_line(value: AttrValue = True) -> Directive:
|
|
814
|
+
"""If true, draw a line along the axis; if false (default), do not."""
|
|
815
|
+
return Directive("xLine", value)
|
|
816
|
+
|
|
817
|
+
|
|
818
|
+
def x_nice(value: AttrValue = True) -> Directive:
|
|
819
|
+
"""If true, or a tick count or interval, extend the domain to nice round values."""
|
|
820
|
+
return Directive("xNice", value)
|
|
821
|
+
|
|
822
|
+
|
|
823
|
+
def x_padding(value: AttrValue) -> Directive:
|
|
824
|
+
"""For *band* scales, how much of the **range** to reserve to separate adjacent bands; defaults to 0.1 (10%)."""
|
|
825
|
+
return Directive("xPadding", value)
|
|
826
|
+
|
|
827
|
+
|
|
828
|
+
def x_padding_inner(value: AttrValue) -> Directive:
|
|
829
|
+
"""For a *band* scale, how much of the range to reserve to separate adjacent bands."""
|
|
830
|
+
return Directive("xPaddingInner", value)
|
|
831
|
+
|
|
832
|
+
|
|
833
|
+
def x_padding_outer(value: AttrValue) -> Directive:
|
|
834
|
+
"""For a *band* scale, how much of the range to reserve to inset first and last bands."""
|
|
835
|
+
return Directive("xPaddingOuter", value)
|
|
836
|
+
|
|
837
|
+
|
|
838
|
+
def x_percent(value: AttrValue = True) -> Directive:
|
|
839
|
+
"""If true, shorthand for a transform suitable for percentages, mapping proportions in 0, 1 to 0, 100."""
|
|
840
|
+
return Directive("xPercent", value)
|
|
841
|
+
|
|
842
|
+
|
|
843
|
+
def x_range(value: AttrValue) -> Directive:
|
|
844
|
+
"""The extent of the scale’s outputs (visual values)."""
|
|
845
|
+
return Directive("xRange", value)
|
|
846
|
+
|
|
847
|
+
|
|
848
|
+
def x_reverse(value: AttrValue = True) -> Directive:
|
|
849
|
+
"""Whether to reverse the scale’s encoding; equivalent to reversing either the **domain** or **range**."""
|
|
850
|
+
return Directive("xReverse", value)
|
|
851
|
+
|
|
852
|
+
|
|
853
|
+
def x_round(value: AttrValue = True) -> Directive:
|
|
854
|
+
"""If true, round the output value to the nearest integer (pixel); useful for crisp edges when rendering."""
|
|
855
|
+
return Directive("xRound", value)
|
|
856
|
+
|
|
857
|
+
|
|
858
|
+
def x_scale(value: AttrValue) -> Directive:
|
|
859
|
+
"""The *x* scale type, affecting how the scale encodes abstract data, say by applying a mathematical transformation."""
|
|
860
|
+
return Directive("xScale", value)
|
|
861
|
+
|
|
862
|
+
|
|
863
|
+
def x_tick_format(value: AttrValue) -> Directive:
|
|
864
|
+
"""How to format inputs (abstract values) for axis tick labels; one of: - a d3-format string for numeric scales - a d3-time-format string for temporal scales : https://d3js.org/d3-time : https://d3js.org/d3-time-format"""
|
|
865
|
+
return Directive("xTickFormat", value)
|
|
866
|
+
|
|
867
|
+
|
|
868
|
+
def x_tick_padding(value: AttrValue) -> Directive:
|
|
869
|
+
"""The distance between an axis tick mark and its associated text label (in pixels); often defaults to 3, but may be affected by **xTickSize** and **xTickRotate**."""
|
|
870
|
+
return Directive("xTickPadding", value)
|
|
871
|
+
|
|
872
|
+
|
|
873
|
+
def x_tick_rotate(value: AttrValue) -> Directive:
|
|
874
|
+
"""The rotation angle of axis tick labels in degrees clocksize; defaults to 0."""
|
|
875
|
+
return Directive("xTickRotate", value)
|
|
876
|
+
|
|
877
|
+
|
|
878
|
+
def x_ticks(value: AttrValue) -> Directive:
|
|
879
|
+
"""The desired approximate number of axis ticks, or an explicit array of tick values, or an interval such as *day* or *month*."""
|
|
880
|
+
return Directive("xTicks", value)
|
|
881
|
+
|
|
882
|
+
|
|
883
|
+
def x_tick_size(value: AttrValue) -> Directive:
|
|
884
|
+
"""The length of axis tick marks in pixels; negative values extend in the opposite direction."""
|
|
885
|
+
return Directive("xTickSize", value)
|
|
886
|
+
|
|
887
|
+
|
|
888
|
+
def x_tick_spacing(value: AttrValue) -> Directive:
|
|
889
|
+
"""The desired approximate spacing between adjacent axis ticks, affecting the default **ticks**; defaults to 80 pixels for *x* and *fx*, and 35 pixels for *y* and *fy*."""
|
|
890
|
+
return Directive("xTickSpacing", value)
|
|
891
|
+
|
|
892
|
+
|
|
893
|
+
def xy_domain(value: AttrValue) -> Directive:
|
|
894
|
+
"""Set the *x* and *y* scale domains."""
|
|
895
|
+
return Directive("xyDomain", value)
|
|
896
|
+
|
|
897
|
+
|
|
898
|
+
def x_zero(value: AttrValue = True) -> Directive:
|
|
899
|
+
"""Whether the **domain** must include zero."""
|
|
900
|
+
return Directive("xZero", value)
|
|
901
|
+
|
|
902
|
+
|
|
903
|
+
def y_align(value: AttrValue) -> Directive:
|
|
904
|
+
"""How to distribute unused space in the **range** for *point* and *band* scales."""
|
|
905
|
+
return Directive("yAlign", value)
|
|
906
|
+
|
|
907
|
+
|
|
908
|
+
def y_aria_description(value: AttrValue) -> Directive:
|
|
909
|
+
"""A textual description for the axis in the accessibility tree."""
|
|
910
|
+
return Directive("yAriaDescription", value)
|
|
911
|
+
|
|
912
|
+
|
|
913
|
+
def y_aria_label(value: AttrValue) -> Directive:
|
|
914
|
+
"""A short label representing the axis in the accessibility tree."""
|
|
915
|
+
return Directive("yAriaLabel", value)
|
|
916
|
+
|
|
917
|
+
|
|
918
|
+
def y_axis(value: AttrValue = True) -> Directive:
|
|
919
|
+
"""The side of the frame on which to place the implicit axis: *left* or *right* for *y*."""
|
|
920
|
+
return Directive("yAxis", value)
|
|
921
|
+
|
|
922
|
+
|
|
923
|
+
def y_base(value: AttrValue) -> Directive:
|
|
924
|
+
"""A log scale’s base; defaults to 10."""
|
|
925
|
+
return Directive("yBase", value)
|
|
926
|
+
|
|
927
|
+
|
|
928
|
+
def y_clamp(value: AttrValue = True) -> Directive:
|
|
929
|
+
"""If true, values below the domain minimum are treated as the domain minimum, and values above the domain maximum are treated as the domain maximum."""
|
|
930
|
+
return Directive("yClamp", value)
|
|
931
|
+
|
|
932
|
+
|
|
933
|
+
def y_constant(value: AttrValue) -> Directive:
|
|
934
|
+
"""A symlog scale’s constant, expressing the magnitude of the linear region around the origin; defaults to 1."""
|
|
935
|
+
return Directive("yConstant", value)
|
|
936
|
+
|
|
937
|
+
|
|
938
|
+
def y_domain(value: AttrValue) -> Directive:
|
|
939
|
+
"""The extent of the scale’s inputs (abstract values)."""
|
|
940
|
+
return Directive("yDomain", value)
|
|
941
|
+
|
|
942
|
+
|
|
943
|
+
def y_exponent(value: AttrValue) -> Directive:
|
|
944
|
+
"""A power scale’s exponent (*e.g.*, 0.5 for sqrt); defaults to 1 for a linear scale."""
|
|
945
|
+
return Directive("yExponent", value)
|
|
946
|
+
|
|
947
|
+
|
|
948
|
+
def y_font_variant(value: AttrValue) -> Directive:
|
|
949
|
+
"""The font-variant attribute for axis ticks; defaults to *tabular-nums* for quantitative axes."""
|
|
950
|
+
return Directive("yFontVariant", value)
|
|
951
|
+
|
|
952
|
+
|
|
953
|
+
def y_grid(value: AttrValue = True) -> Directive:
|
|
954
|
+
"""Whether to show a grid aligned with the scale’s ticks."""
|
|
955
|
+
return Directive("yGrid", value)
|
|
956
|
+
|
|
957
|
+
|
|
958
|
+
def y_inset(value: AttrValue) -> Directive:
|
|
959
|
+
"""Shorthand to set the same default for all four insets: **insetTop**, **insetRight**, **insetBottom**, and **insetLeft**."""
|
|
960
|
+
return Directive("yInset", value)
|
|
961
|
+
|
|
962
|
+
|
|
963
|
+
def y_inset_bottom(value: AttrValue) -> Directive:
|
|
964
|
+
"""Insets the bottom edge by the specified number of pixels."""
|
|
965
|
+
return Directive("yInsetBottom", value)
|
|
966
|
+
|
|
967
|
+
|
|
968
|
+
def y_inset_top(value: AttrValue) -> Directive:
|
|
969
|
+
"""Insets the top edge by the specified number of pixels."""
|
|
970
|
+
return Directive("yInsetTop", value)
|
|
971
|
+
|
|
972
|
+
|
|
973
|
+
def y_label(value: AttrValue) -> Directive:
|
|
974
|
+
"""A textual label to show on the axis or legend; if null, show no label."""
|
|
975
|
+
return Directive("yLabel", value)
|
|
976
|
+
|
|
977
|
+
|
|
978
|
+
def y_label_anchor(value: AttrValue) -> Directive:
|
|
979
|
+
"""Where to place the axis **label** relative to the plot’s frame."""
|
|
980
|
+
return Directive("yLabelAnchor", value)
|
|
981
|
+
|
|
982
|
+
|
|
983
|
+
def y_label_arrow(value: AttrValue) -> Directive:
|
|
984
|
+
"""Whether to apply a directional arrow such as → or ↑ to the x-axis scale label."""
|
|
985
|
+
return Directive("yLabelArrow", value)
|
|
986
|
+
|
|
987
|
+
|
|
988
|
+
def y_label_offset(value: AttrValue) -> Directive:
|
|
989
|
+
"""The axis **label** position offset (in pixels); default depends on margins and orientation."""
|
|
990
|
+
return Directive("yLabelOffset", value)
|
|
991
|
+
|
|
992
|
+
|
|
993
|
+
def y_line(value: AttrValue = True) -> Directive:
|
|
994
|
+
"""If true, draw a line along the axis; if false (default), do not."""
|
|
995
|
+
return Directive("yLine", value)
|
|
996
|
+
|
|
997
|
+
|
|
998
|
+
def y_nice(value: AttrValue = True) -> Directive:
|
|
999
|
+
"""If true, or a tick count or interval, extend the domain to nice round values."""
|
|
1000
|
+
return Directive("yNice", value)
|
|
1001
|
+
|
|
1002
|
+
|
|
1003
|
+
def y_padding(value: AttrValue) -> Directive:
|
|
1004
|
+
"""For *band* scales, how much of the **range** to reserve to separate adjacent bands; defaults to 0.1 (10%)."""
|
|
1005
|
+
return Directive("yPadding", value)
|
|
1006
|
+
|
|
1007
|
+
|
|
1008
|
+
def y_padding_inner(value: AttrValue) -> Directive:
|
|
1009
|
+
"""For a *band* scale, how much of the range to reserve to separate adjacent bands."""
|
|
1010
|
+
return Directive("yPaddingInner", value)
|
|
1011
|
+
|
|
1012
|
+
|
|
1013
|
+
def y_padding_outer(value: AttrValue) -> Directive:
|
|
1014
|
+
"""For a *band* scale, how much of the range to reserve to inset first and last bands."""
|
|
1015
|
+
return Directive("yPaddingOuter", value)
|
|
1016
|
+
|
|
1017
|
+
|
|
1018
|
+
def y_percent(value: AttrValue = True) -> Directive:
|
|
1019
|
+
"""If true, shorthand for a transform suitable for percentages, mapping proportions in 0, 1 to 0, 100."""
|
|
1020
|
+
return Directive("yPercent", value)
|
|
1021
|
+
|
|
1022
|
+
|
|
1023
|
+
def y_range(value: AttrValue) -> Directive:
|
|
1024
|
+
"""The extent of the scale’s outputs (visual values)."""
|
|
1025
|
+
return Directive("yRange", value)
|
|
1026
|
+
|
|
1027
|
+
|
|
1028
|
+
def y_reverse(value: AttrValue = True) -> Directive:
|
|
1029
|
+
"""Whether to reverse the scale’s encoding; equivalent to reversing either the **domain** or **range**."""
|
|
1030
|
+
return Directive("yReverse", value)
|
|
1031
|
+
|
|
1032
|
+
|
|
1033
|
+
def y_round(value: AttrValue = True) -> Directive:
|
|
1034
|
+
"""If true, round the output value to the nearest integer (pixel); useful for crisp edges when rendering."""
|
|
1035
|
+
return Directive("yRound", value)
|
|
1036
|
+
|
|
1037
|
+
|
|
1038
|
+
def y_scale(value: AttrValue) -> Directive:
|
|
1039
|
+
"""The *y* scale type, affecting how the scale encodes abstract data, say by applying a mathematical transformation."""
|
|
1040
|
+
return Directive("yScale", value)
|
|
1041
|
+
|
|
1042
|
+
|
|
1043
|
+
def y_tick_format(value: AttrValue) -> Directive:
|
|
1044
|
+
"""How to format inputs (abstract values) for axis tick labels; one of: - a d3-format string for numeric scales - a d3-time-format string for temporal scales : https://d3js.org/d3-time : https://d3js.org/d3-time-format"""
|
|
1045
|
+
return Directive("yTickFormat", value)
|
|
1046
|
+
|
|
1047
|
+
|
|
1048
|
+
def y_tick_padding(value: AttrValue) -> Directive:
|
|
1049
|
+
"""The distance between an axis tick mark and its associated text label (in pixels); often defaults to 3, but may be affected by **yTickSize** and **yTickRotate**."""
|
|
1050
|
+
return Directive("yTickPadding", value)
|
|
1051
|
+
|
|
1052
|
+
|
|
1053
|
+
def y_tick_rotate(value: AttrValue) -> Directive:
|
|
1054
|
+
"""The rotation angle of axis tick labels in degrees clocksize; defaults to 0."""
|
|
1055
|
+
return Directive("yTickRotate", value)
|
|
1056
|
+
|
|
1057
|
+
|
|
1058
|
+
def y_ticks(value: AttrValue) -> Directive:
|
|
1059
|
+
"""The desired approximate number of axis ticks, or an explicit array of tick values, or an interval such as *day* or *month*."""
|
|
1060
|
+
return Directive("yTicks", value)
|
|
1061
|
+
|
|
1062
|
+
|
|
1063
|
+
def y_tick_size(value: AttrValue) -> Directive:
|
|
1064
|
+
"""The length of axis tick marks in pixels; negative values extend in the opposite direction."""
|
|
1065
|
+
return Directive("yTickSize", value)
|
|
1066
|
+
|
|
1067
|
+
|
|
1068
|
+
def y_tick_spacing(value: AttrValue) -> Directive:
|
|
1069
|
+
"""The desired approximate spacing between adjacent axis ticks, affecting the default **ticks**; defaults to 80 pixels for *x* and *fx*, and 35 pixels for *y* and *fy*."""
|
|
1070
|
+
return Directive("yTickSpacing", value)
|
|
1071
|
+
|
|
1072
|
+
|
|
1073
|
+
def y_zero(value: AttrValue = True) -> Directive:
|
|
1074
|
+
"""Whether the **domain** must include zero."""
|
|
1075
|
+
return Directive("yZero", value)
|
|
1076
|
+
|
|
1077
|
+
|
|
1078
|
+
__all__ = [
|
|
1079
|
+
"align",
|
|
1080
|
+
"aria_description",
|
|
1081
|
+
"aria_label",
|
|
1082
|
+
"aspect_ratio",
|
|
1083
|
+
"axis",
|
|
1084
|
+
"clip",
|
|
1085
|
+
"color_base",
|
|
1086
|
+
"color_clamp",
|
|
1087
|
+
"color_constant",
|
|
1088
|
+
"color_domain",
|
|
1089
|
+
"color_exponent",
|
|
1090
|
+
"color_interpolate",
|
|
1091
|
+
"color_label",
|
|
1092
|
+
"color_n",
|
|
1093
|
+
"color_nice",
|
|
1094
|
+
"color_percent",
|
|
1095
|
+
"color_pivot",
|
|
1096
|
+
"color_range",
|
|
1097
|
+
"color_reverse",
|
|
1098
|
+
"color_scale",
|
|
1099
|
+
"color_scheme",
|
|
1100
|
+
"color_symmetric",
|
|
1101
|
+
"color_tick_format",
|
|
1102
|
+
"color_zero",
|
|
1103
|
+
"facet_grid",
|
|
1104
|
+
"facet_label",
|
|
1105
|
+
"facet_margin",
|
|
1106
|
+
"facet_margin_bottom",
|
|
1107
|
+
"facet_margin_left",
|
|
1108
|
+
"facet_margin_right",
|
|
1109
|
+
"facet_margin_top",
|
|
1110
|
+
"fx_align",
|
|
1111
|
+
"fx_aria_description",
|
|
1112
|
+
"fx_aria_label",
|
|
1113
|
+
"fx_axis",
|
|
1114
|
+
"fx_domain",
|
|
1115
|
+
"fx_font_variant",
|
|
1116
|
+
"fx_grid",
|
|
1117
|
+
"fx_inset",
|
|
1118
|
+
"fx_inset_left",
|
|
1119
|
+
"fx_inset_right",
|
|
1120
|
+
"fx_label",
|
|
1121
|
+
"fx_label_anchor",
|
|
1122
|
+
"fx_label_offset",
|
|
1123
|
+
"fx_line",
|
|
1124
|
+
"fx_padding",
|
|
1125
|
+
"fx_padding_inner",
|
|
1126
|
+
"fx_padding_outer",
|
|
1127
|
+
"fx_range",
|
|
1128
|
+
"fx_reverse",
|
|
1129
|
+
"fx_round",
|
|
1130
|
+
"fx_tick_format",
|
|
1131
|
+
"fx_tick_padding",
|
|
1132
|
+
"fx_tick_rotate",
|
|
1133
|
+
"fx_ticks",
|
|
1134
|
+
"fx_tick_size",
|
|
1135
|
+
"fx_tick_spacing",
|
|
1136
|
+
"fy_align",
|
|
1137
|
+
"fy_aria_description",
|
|
1138
|
+
"fy_aria_label",
|
|
1139
|
+
"fy_axis",
|
|
1140
|
+
"fy_domain",
|
|
1141
|
+
"fy_font_variant",
|
|
1142
|
+
"fy_grid",
|
|
1143
|
+
"fy_inset",
|
|
1144
|
+
"fy_inset_bottom",
|
|
1145
|
+
"fy_inset_top",
|
|
1146
|
+
"fy_label",
|
|
1147
|
+
"fy_label_anchor",
|
|
1148
|
+
"fy_label_offset",
|
|
1149
|
+
"fy_line",
|
|
1150
|
+
"fy_padding",
|
|
1151
|
+
"fy_padding_inner",
|
|
1152
|
+
"fy_padding_outer",
|
|
1153
|
+
"fy_range",
|
|
1154
|
+
"fy_reverse",
|
|
1155
|
+
"fy_round",
|
|
1156
|
+
"fy_tick_format",
|
|
1157
|
+
"fy_tick_padding",
|
|
1158
|
+
"fy_tick_rotate",
|
|
1159
|
+
"fy_ticks",
|
|
1160
|
+
"fy_tick_size",
|
|
1161
|
+
"fy_tick_spacing",
|
|
1162
|
+
"grid",
|
|
1163
|
+
"height",
|
|
1164
|
+
"inset",
|
|
1165
|
+
"length_base",
|
|
1166
|
+
"length_clamp",
|
|
1167
|
+
"length_constant",
|
|
1168
|
+
"length_domain",
|
|
1169
|
+
"length_exponent",
|
|
1170
|
+
"length_nice",
|
|
1171
|
+
"length_percent",
|
|
1172
|
+
"length_range",
|
|
1173
|
+
"length_scale",
|
|
1174
|
+
"length_zero",
|
|
1175
|
+
"margin",
|
|
1176
|
+
"margin_bottom",
|
|
1177
|
+
"margin_left",
|
|
1178
|
+
"margin_right",
|
|
1179
|
+
"margin_top",
|
|
1180
|
+
"name",
|
|
1181
|
+
"opacity_base",
|
|
1182
|
+
"opacity_clamp",
|
|
1183
|
+
"opacity_constant",
|
|
1184
|
+
"opacity_domain",
|
|
1185
|
+
"opacity_exponent",
|
|
1186
|
+
"opacity_label",
|
|
1187
|
+
"opacity_nice",
|
|
1188
|
+
"opacity_percent",
|
|
1189
|
+
"opacity_range",
|
|
1190
|
+
"opacity_reverse",
|
|
1191
|
+
"opacity_scale",
|
|
1192
|
+
"opacity_tick_format",
|
|
1193
|
+
"opacity_zero",
|
|
1194
|
+
"padding",
|
|
1195
|
+
"projection_clip",
|
|
1196
|
+
"projection_domain",
|
|
1197
|
+
"projection_inset",
|
|
1198
|
+
"projection_inset_bottom",
|
|
1199
|
+
"projection_inset_left",
|
|
1200
|
+
"projection_inset_right",
|
|
1201
|
+
"projection_inset_top",
|
|
1202
|
+
"projection_parallels",
|
|
1203
|
+
"projection_precision",
|
|
1204
|
+
"projection_rotate",
|
|
1205
|
+
"projection_type",
|
|
1206
|
+
"r_base",
|
|
1207
|
+
"r_clamp",
|
|
1208
|
+
"r_constant",
|
|
1209
|
+
"r_domain",
|
|
1210
|
+
"r_exponent",
|
|
1211
|
+
"r_label",
|
|
1212
|
+
"r_nice",
|
|
1213
|
+
"r_percent",
|
|
1214
|
+
"r_range",
|
|
1215
|
+
"r_scale",
|
|
1216
|
+
"r_zero",
|
|
1217
|
+
"style",
|
|
1218
|
+
"symbol_domain",
|
|
1219
|
+
"symbol_range",
|
|
1220
|
+
"symbol_scale",
|
|
1221
|
+
"width",
|
|
1222
|
+
"x_align",
|
|
1223
|
+
"x_aria_description",
|
|
1224
|
+
"x_aria_label",
|
|
1225
|
+
"x_axis",
|
|
1226
|
+
"x_base",
|
|
1227
|
+
"x_clamp",
|
|
1228
|
+
"x_constant",
|
|
1229
|
+
"x_domain",
|
|
1230
|
+
"x_exponent",
|
|
1231
|
+
"x_font_variant",
|
|
1232
|
+
"x_grid",
|
|
1233
|
+
"x_inset",
|
|
1234
|
+
"x_inset_left",
|
|
1235
|
+
"x_inset_right",
|
|
1236
|
+
"x_label",
|
|
1237
|
+
"x_label_anchor",
|
|
1238
|
+
"x_label_arrow",
|
|
1239
|
+
"x_label_offset",
|
|
1240
|
+
"x_line",
|
|
1241
|
+
"x_nice",
|
|
1242
|
+
"x_padding",
|
|
1243
|
+
"x_padding_inner",
|
|
1244
|
+
"x_padding_outer",
|
|
1245
|
+
"x_percent",
|
|
1246
|
+
"x_range",
|
|
1247
|
+
"x_reverse",
|
|
1248
|
+
"x_round",
|
|
1249
|
+
"x_scale",
|
|
1250
|
+
"x_tick_format",
|
|
1251
|
+
"x_tick_padding",
|
|
1252
|
+
"x_tick_rotate",
|
|
1253
|
+
"x_ticks",
|
|
1254
|
+
"x_tick_size",
|
|
1255
|
+
"x_tick_spacing",
|
|
1256
|
+
"xy_domain",
|
|
1257
|
+
"x_zero",
|
|
1258
|
+
"y_align",
|
|
1259
|
+
"y_aria_description",
|
|
1260
|
+
"y_aria_label",
|
|
1261
|
+
"y_axis",
|
|
1262
|
+
"y_base",
|
|
1263
|
+
"y_clamp",
|
|
1264
|
+
"y_constant",
|
|
1265
|
+
"y_domain",
|
|
1266
|
+
"y_exponent",
|
|
1267
|
+
"y_font_variant",
|
|
1268
|
+
"y_grid",
|
|
1269
|
+
"y_inset",
|
|
1270
|
+
"y_inset_bottom",
|
|
1271
|
+
"y_inset_top",
|
|
1272
|
+
"y_label",
|
|
1273
|
+
"y_label_anchor",
|
|
1274
|
+
"y_label_arrow",
|
|
1275
|
+
"y_label_offset",
|
|
1276
|
+
"y_line",
|
|
1277
|
+
"y_nice",
|
|
1278
|
+
"y_padding",
|
|
1279
|
+
"y_padding_inner",
|
|
1280
|
+
"y_padding_outer",
|
|
1281
|
+
"y_percent",
|
|
1282
|
+
"y_range",
|
|
1283
|
+
"y_reverse",
|
|
1284
|
+
"y_round",
|
|
1285
|
+
"y_scale",
|
|
1286
|
+
"y_tick_format",
|
|
1287
|
+
"y_tick_padding",
|
|
1288
|
+
"y_tick_rotate",
|
|
1289
|
+
"y_ticks",
|
|
1290
|
+
"y_tick_size",
|
|
1291
|
+
"y_tick_spacing",
|
|
1292
|
+
"y_zero",
|
|
1293
|
+
]
|